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.
3 comments, leave yours
The good thing is that in Yaourt we find programs that we cannot install with pacman. Greetings.
I do the whole process and the terminal tells me error: the package was not found: Yaourt
What is this error due to?
Yaourt has been discontinued in favor of Yay: https://www.linuxadictos.com/yay-como-instalar-este-asistente-de-aur-en-distros-basadas-en-arch-linux.html
A greeting.