Installing packages from AUR
-
Search for the package here
-
Acquire build files
There are two methods:
-
Clone the git repository that is labeled as the "Git Clone URL" in the "Package Details":
$ git clone https://aur.archlinux.org/package_name.git
-
Download the build files with your web browser by clicking the "Download snapshot" link under "Package Actions" on the right hand side. This will download a compressed file, which must be extracted (preferably in a directory set aside for AUR builds)
$ tar -xvf package_name.tar.gz
-
Similarly, you can download a tarball from the terminal (and extract it):
$ curl -L -O https://aur.archlinux.org/cgit/aur.git/snapshot/package_name.tar.gz
-
-
Build and install the package
-
cd package_name please make sure you Carefully check all files. because they are scripts just to confirm they aint malicious
-
Make the package. After manually confirming the integrity of the files, run makepkg as a normal user:
$ makepkg -si
-
-s/--syncdeps
automatically resolves and install any dependencies with pacman before building. If the package depends on other AUR packages, you will need to manually install them first. -
- -i/--install
installs the package if it is built successfully. Alternatively the built package can be installed with pacman -U package.pkg.tar.xz.
-
-