Installing Pale Moon on Arch distros
Last updated : 7/3/2023 (added some guide on manually specifying directory)
Introduction
This is my own guide for installing & updating Pale Moon on Arch distros (including Artix) using AUR. Keep in mind that this guide uses Git and not AUR helpers like yay, pamac, and/or octopi.
For Artix users : Usage of official Arch repositories are not necessary, as all of palemoon-bin (and palemoon-gtk3-bin by extension) dependencies are already available in Artix repositories.
First time installation
Make sure you have base-devel & git installed (sudo pacman -S --needed base-devel git if you haven't installed them yet).
- Open your terminal emulator of choice or log in to a virtual console (ctrl + alt + f2), as we will use the terminal to install and/or update Pale Moon. Be sure to do this in the user account.
- Update your distro packages using sudo pacman -Syu
- git clone https://aur.archlinux.org/palemoon-bin.git
palemoon-bin can be replaced by palemoon-gtk3-bin. In that case, use git clone https://aur.archlinux.org/palemoon-gtk3-bin instead.
By default, git clone will create palemoon-bin (or palemoon-gtk3-bin) directory. If you want to make it so it's just palemoon, add ~/palemoon to the git clone command. It should look something like this : git clone https://aur.archlinux.org/palemoon-bin.git ~/palemoon
- Change directories to the directory containing the PKGBUILD : cd palemoon (or palemoon-bin / palemoon-gtk3-bin if not specified during git clone)
- Check out the PKGBUILD (optional, but recommended)
For example, using the pager less : less PKGBUILD
- Import Moonchild & trava90's public PGP keys :
- Moonchild : gpg --keyserver=keyserver.ubuntu.com --recv-keys 8FCF9CEC
- trava90 : gpg --keyserver=keyserver.ubuntu.com --recv-keys C65285EC
This step is necessary, as Pale Moon for Linux can be released with either PGP keys (and not trusted via the Arch / Artix pacman keyring). Also, watch the latest Pale Moon for Linux release announcements for more information.
- makepkg -sirc
If you encounter a "One or more PGP signatures could not be verified" error, make sure you have the right PGP keys (or preferably both) imported. You could also skip integrity checks at your own risk.
Updating
- Open terminal emulator / virtual console
- Update your distro packages using sudo pacman -Syu
- Change directories to the directory containing the PKGBUILD : cd palemoon (or palemoon-bin / palemoon-gtk3-bin if directory is not specified when using git clone)
- Update the files & changes by using git pull
- Check out the PKGBUILD (optional, but recommended)
For example, using the pager less : less PKGBUILD
- makepkg -sirc
Random tips & notes
- If necessary, use git clean -dfX to delete all previously built package files & their sources.
- Regarding makepkg -sirc :
- -s : Installs missing build dependencies. Optional.
- -i : Automatically installs and/or upgrades the package after a successful build, allowing you to skip using pacman -U.
- -r : Removes packages installed with the -s flag. Optional.
- -c : Cleans up leftover files & directories after a successful build. Optional, but especially useful on smaller disks.
- For more information regarding makepkg, visit Arch's man page or wiki.
Back to top
Index - computers
Main Page