How to install yaourt in Arch Linux

How to install yaourt in Arch Linux

Yaourt (Yet Another User Repository Tool) is a popular command-line utility for installing packages from the Arch User Repository (AUR) on Arch Linux. It is not officially supported by the Arch Linux developers, but is widely used by many users.

To install yaourt on Arch Linux, follow these steps:

  1. Download the yaourt package from the AUR using wget:
‮‬refer to:lautturi.com
wget https://aur.archlinux.org/cgit/aur.git/snapshot/package-query.tar.gz
  1. Extract the package:
tar xvf package-query.tar.gz
  1. Change to the directory containing the package:
cd package-query
  1. Build and install the package:
makepkg -si

This will build and install the package-query package, which is a dependency for yaourt.

  1. Download the yaourt package:
wget https://aur.archlinux.org/cgit/aur.git/snapshot/yaourt.tar.gz
  1. Extract the package:
tar xvf yaourt.tar.gz
  1. Change to the directory containing the package:
cd yaourt
  1. Build and install the package:
makepkg -si

This will build and install the yaourt package.

To use yaourt, you can use the yaourt command followed by the package name you want to install. For example, to install the htop package, you can use the following command:

yaourt htop

That's it! Yaourt is now installed on your Arch Linux system and ready to use. You can use it to install packages from the AUR using the command line. Note that yaourt is not officially supported by the Arch Linux developers, so use it at your own risk.

Created Time:2017-10-16 14:38:50  Author:lautturi