Pacman is a package manager for Archlinux. It is useful for installing packages. You can search for packages, update packages and perform related duties. Yaourt is a command line interface tool. It suppose to complete pacman command for installing software on Archlinux. This page shows how to install and use Yaourt on Arch Linux to increase your productivity.
Install yaourt in Arch Linux
The procedure for installing yaourt on Archlinux is as follows:
- Open the terminal App
- Type the following commands as root user to install package-query:
cd /tmp/ && git clone https://aur.archlinux.org/package-query.git
cd package-query && makepkg -si && cd /tmp/ - Now install yaourt as root user:
git clone https://aur.archlinux.org/yaourt.git
cd yaourt && makepkg -si
Let us see all examples and syntax usage in details to install yaourt on Archlinux.
How to install git and base-devel packages
Type the following packman command to install git client if not installed your system:
$ sudo pacman -S git base-devel
How to install package-query
Next install package-query:
$ cd /tmp/
$ git clone https://aur.archlinux.org/package-query.git
$ cd package-query && makepkg -si && cd /tmp/
Sample outputs:
==> Making package: package-query 1.9-2 (Fri Jan 19 08:10:27 UTC 2018) ==> Checking runtime dependencies... ==> Installing missing dependencies... resolving dependencies... looking for conflicting packages... Packages (1) yajl-2.1.0-1 Total Download Size: 0.03 MiB Total Installed Size: 0.16 MiB :: Proceed with installation? [Y/n] y :: Retrieving packages... yajl-2.1.0-1-x86_64 31.2 KiB 64.5K/s 00:00 [########################################################################################] 100% (1/1) checking keys in keyring [########################################################################################] 100% (1/1) checking package integrity [########################################################################################] 100% (1/1) loading package files [########################################################################################] 100% (1/1) checking for file conflicts [########################################################################################] 100% (1/1) checking available disk space [########################################################################################] 100% :: Processing package changes... (1/1) installing yajl [########################################################################################] 100% :: Running post-transaction hooks... (1/1) Arming ConditionNeedsUpdate...
How to compile and install yaourt
Run the following commands:
$ cd /tmp/
$ git clone https://aur.archlinux.org/yaourt.git
$ cd yaourt && makepkg -si
Sample outputs:
How to use yaourt
General syntax is:
yaourt
yaourt [options]
yaourt -S pkg
yaourt --stats
yaourt --help
How do I search for packages?
$ yaourt list
$ yaourt htop
$ yaourt snapd
How do I install htop package using yaourt?
Install package called htpo:
$ sudo yaourt -S htop
See the yaourt website for more info.
🐧 0 comments... add one ↓
Category | List of Unix and Linux commands |
---|---|
File Management | cat |
Firewall | Alpine Awall • CentOS 8 • OpenSUSE • RHEL 8 • Ubuntu 16.04 • Ubuntu 18.04 • Ubuntu 20.04 |
Network Utilities | dig • host • ip • nmap |
OpenVPN | CentOS 7 • CentOS 8 • Debian 10 • Debian 8/9 • Ubuntu 18.04 • Ubuntu 20.04 |
Package Manager | apk • apt |
Processes Management | bg • chroot • cron • disown • fg • jobs • killall • kill • pidof • pstree • pwdx • time |
Searching | grep • whereis • which |
User Information | groups • id • lastcomm • last • lid/libuser-lid • logname • members • users • whoami • who • w |
WireGuard VPN | Alpine • CentOS 8 • Debian 10 • Firewall • Ubuntu 20.04 |