How to install Yaourt on Arch Linux

This tutorial is going to show you how to install Yaourt on Arch Linux via command line. Yaourt is a command line interface program which complete pacman for installing software on Arch Linux and all derivatives such as Manjaro, Antergos, ArchLabs and many more. On this situation,  Arch Linux does not have any Graphical package manager installed and all I have is Terminal console access. So, the following steps will guide you how to deal with Yaourt installation via command line.

Steps to install Yaourt on Arch Linux

Step 1. Install git

Please skip this step if you have git installed already on Arch

sudo pacman -S git

Step 2. Download and configure Yaourt

Now execute the following commands in sequence to start installing Yaourt on Arch. If you have an error when executing makepkg command, please read this solution.

git clone https://aur.archlinux.org/package-query.git 
cd package-query 
makepkg -si 
cd .. 
git clone https://aur.archlinux.org/yaourt.git 
cd yaourt 
makepkg -si

When all steps are completed, you can now use yaourt to install packages from AUR repository. For example:

yaourt -S pamac-aur

Thank you

3 Trackbacks / Pingbacks

  1. Install Moka Icon Theme on Arch Linux 2017 - Free Linux Tutorials
  2. arch linux - I cannot install Yaourt: I do not have write permission for the directory - ITTone
  3. [Solved] I cannot install Yaourt: I do not have write permission for the directory – Ten-tools.com

Leave a Reply