hosts on AUR (Arch User Repository)

Last updated: November 08,2024

1. Install "hosts" effortlessly via AUR with the help of a helper(YAY)

a. Install YAY (https://github.com/Jguer/yay)

$ sudo pacman -S --needed git base-devel && git clone https://aur.archlinux.org/yay.git && cd yay && makepkg -si

b. Install hosts on Arch using YAY

$ yay -S hosts

* (Optional) Uninstall hosts on Arch using YAY

$ yay -Rns hosts

2. Manually Install "hosts" via AUR

a. Ensure you have the base development tools and git installed with:

$ sudo pacman -S --needed base-devel git

b. Clone hosts's git locally

$ git clone https://aur.archlinux.org/hosts.git ~/hosts

c. Go to ~/hosts folder and install it

$ cd ~/hosts $ makepkg -si

3. Information about the hosts package on Arch User Repository (AUR)

ID: 938601
Name: hosts
PackageBaseID: 130979
PackageBase: hosts
Version: 3.6.4-1
Description: A command line tool for managing hosts file entries.
URL: https://github.com/xwmx/hosts
NumVotes: 2
Popularity: 0
OutOfDate:
Maintainer: MGislv
Submitter: clintval
FirstSubmitted: 1521663494
LastModified: 1627131983
URLPath: /cgit/aur.git/snapshot/hosts.tar.gz