Install Yaourt on Archlinux and derivatives

Yogurt

Hello, have a good day, this time I will show you how to install Yaourt on Archlinux and its derivatives. For those who have a distro based on Arch and / or have Arch and do not know Yaourt I will explain a little.

Yaourt is a package manager just like PacmanAlthough they have their differences, the two are extremely important within Archlinux since, while Pacman is the one that manages the official repositories, Yaourt is the counterpart as it is the one that will help us manage unofficial repositories in this case it is called AUR.

What I love about Archlinux or any derivative of it is the simplicity of doing things and not depending on so much repository that after updates are breaking dependencies or in the best of cases Archlinux allows us to keep obsolete packages without breaking dependencies.

But hey now to install Yaourt on the system you will have to edit the pacman.conf file found inside the / etc folder.

It is enough to edit the file with our favorite text editor, in my case my life is not complicated and I use nano for it:

sudo nano /etc/pacman.conf

It will display something similar to this:

# /etc/pacman.conf
[basis]
SigLevel = PackageRequired
Include = /etc/pacman.d/mirrorlist

[platform]
SigLevel = PackageRequired
Include = /etc/pacman.d/mirrorlist

[addon]
SigLevel = PackageRequired
Include = /etc/pacman.d/mirrorlist

[extra]
SigLevel = PackageRequired
Include = /etc/pacman.d/mirrorlist

[community]
SigLevel = PackageRequired
Include = /etc/pacman.d/mirrorlist

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

# If you want to run 32 bit applications on your x86_64 system,
# enable the multilib repositories as required here.

[basis-multilib]
SigLevel = PackageRequired
Include = /etc/pacman.d/mirrorlist

[multilib]
SigLevel = PackageRequired
Include = /etc/pacman.d/mirrorlist

# An example of a custom package repository. See the pacman manpage for
# tips on creating your own repositories.
#[custom]
#SigLevel = Optional TrustAll
#Server = file:///home/custompkgs

Now alone we will add the following lines at the end of the file:

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

We update the repositories:

sudo pacman -sy

E we install Yaourt:

sudo pacman -s yaourt

Now solely for your use, instead of using Pacman, we replace it with Yaourt.

They should take into account that the use of Yaourt does not require super user permissions, only when they are requested.


The content of the article adheres to our principles of editorial ethics. To report an error click here!.

3 comments, leave yours

Leave a Comment

Your email address will not be published.

*

*

  1. Responsible for the data: AB Internet Networks 2008 SL
  2. Purpose of the data: Control SPAM, comment management.
  3. Legitimation: Your consent
  4. Communication of the data: The data will not be communicated to third parties except by legal obligation.
  5. Data storage: Database hosted by Occentus Networks (EU)
  6. Rights: At any time you can limit, recover and delete your information.

  1.   Daniel said

    The good thing is that in Yaourt we find programs that we cannot install with pacman. Greetings.

  2.   leonardo said

    I do the whole process and the terminal tells me error: the package was not found: Yaourt
    What is this error due to?