Wednesday, January 9, 2013

How to install software/packages from AUR (Arch User Repository)

Archlinux User Repository (AUR). If you are looking for a software but not available in the official repository. You can still search the software package on the "archlinux user repository" site. AUR is a community-driven repository for Arch users. It contains package descriptions/PKGBUILD that allow you to compile a package from source with makepkg then install it through pacman.


Aur URL official link : https://aur.archlinux.org

Installing software / packages from AUR (Arch User Repository)

1. Download Software Package in AUR

Please search for the AUR package that you want. Then click on the package, then see the box on the right.

How to install software/packages from AUR (Arch User Repository)


Then select "Download snapshot". Then the tar.gz package will be downloaded. Open the downloaded file using the terminal / console


2. Extract the packages

Extract the packages with tar command.
$tar -xvzf packagesexample.tar.gz

3. Build packages

$cd packagesexample
$makepkg
if you want to automaticly resolving the dependencies you can add -s option.
$makepkg -s
The packages will be build

4. Install the packages

Login to root user
#pacman -U *.pkg.tar.xz
Packages will be installed

AUR Download with wget.

Please create a folder for software installation from AUR.
$mkdir AUR
$cd AUR

Install Wget
$sudo pacman -S wget
Search on AUR Websites, then right click on "Download Snapshot". Then paste it in terminal
~AUR$wget - c pasteurlhere
Here's for the example of installation, see below "installing xarchiver"

How to install software/packages from AUR (Arch User Repository)

Extracting and cd into the extracted folder
How to install software/packages from AUR (Arch User Repository)
Then makepkg -s
How to install software/packages from AUR (Arch User Repository)


Wait until package is created, at the end must be like this.
How to install software/packages from AUR (Arch User Repository)

And finally installing the package, by typing sudo pacman -S *.pkg.tar.xz
How to install software/packages from AUR (Arch User Repository)

And application is installed, enjoy. :D

AUR Software manager

I recommend the manual method above, but if you need software help you can try yaourt or pacman XG4 please see the following post.
- Yaourt
- Pacman XG4
Share on Facebook
Share on Twitter
Share on Google+
Tags :