An easy way to install yaourt with pacman

What is yaourt

Yaourt is a utility for Arch Linux that provides an easy way to install programs from AUR (Arch User Repository). Pacman cannot search the AUR for programs so if you want to install a program from AUR you have to do it manually. I have already describe how to install an AUR program manually at a previous article .

Yaourt searches AUR for programs, downloads them, install the missing dependencies and then compiles and installs them. Because yaourt uses pacman it can also install packages from the repositories or upgrade them.

How to install yaourt with pacman

You can install yaourt with pacman but first you have to add the proper repository to pacman.conf. So, you must edit the file /etc/pacman.conf. To do this you can use nano, vim or gedit:

sudo nano /etc/pacman.conf or gksudo gedit /etc/pacman.conf

 

Then you have to add to the end of the pacman.conf the archlinuxfr repository:

[archlinuxfr]
Server = http://repo.archlinux.fr/$arch

  pacman-conf-crop

After that, save and refresh the packages lists with the command:

sudo pacman -Syy

Now you can install yaourt with pacman:

sudo pacman -S yaourt

How to use yaourt

If you want to search and install a program from AUR you can use yaourt:

yaourt program

Note

Remember not to use the sudo command with yaourt. Yaourt will ask you for the root password when its ready to install a program.

 

For example if you want to install qbittorrent (like the previous article):

yaourt qbittorrent

yaourt-install-qbittorrent

Yaourt will return a list of programs with the word qbittorrent in their name or in their description. To install one (or more) enter their number (for qbittorrent we enter the number 1). Yaourt prompt us to see the PKGBUILD file for information about the installation. We choose if we want to see it (I usally don’t).

You can use yaourt to upgrade the installed packages because it describes more efficient than pacman the upgrades:

yaourt -Syu

Yaourt’s update list is more efficient than Pacman’s.

If you want to upgrade the programs you have installed from AUR (like qbittorrent) you have to use the command:

yaourt -Syua

177 thoughts on “An easy way to install yaourt with pacman

  1. alexnder

    This is an amazing blog i believe in a proverb that says seeing is believing indeed i join and my doubt was cleared about your blog thanks for excellent representation to the society .

    Reply
  2. gibert

    Saving in your blog is one of the amazing thing i have meet online so safe thanks for being professional in your blog .

    Reply
  3. moris

    This is an amazing blog i believe in a proverb that says seeing is believing indeed i join and my doubt was cleared about your blog thanks for excellent representation to the society .

    Reply
  4. Jeroldlab

    after reading some of the articles in your blog i was amazed with your explanation please can you guide me more on how to activate a safe save with your blog.

    Reply
  5. Jeroldlab

    thank you i already activate my safe with your blog please keep updating us your participant in any information to enable us to be more safe

    Reply
  6. nelson

    There’s definitely a great deal to learn about this topic in your blog I really like all the points you have outlined is amazing .

    Reply
  7. nelson

    Looking forward to reading more great article in your blog really looking forward to read more Cool articles on safety save in your blog

    Reply
  8. nelson

    i have encounter your blog several times now am going to register with your blog because am convince of my safety in your blog

    Reply

Leave a Reply

Your email address will not be published. Required fields are marked *