switchhosts-git on AUR (Arch User Repository)

Last updated: May 20,2024

1. Install "switchhosts-git" 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 switchhosts-git on Arch using YAY

$ yay -S switchhosts-git

* (Optional) Uninstall switchhosts-git on Arch using YAY

$ yay -Rns switchhosts-git

2. Manually Install "switchhosts-git" via AUR

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

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

b. Clone switchhosts-git's git locally

$ git clone https://aur.archlinux.org/switchhosts-git.git ~/switchhosts-git

c. Go to ~/switchhosts-git folder and install it

$ cd ~/switchhosts-git $ makepkg -si

3. Information about the switchhosts-git package on Arch User Repository (AUR)

ID: 1427666
Name: switchhosts-git
PackageBaseID: 198973
PackageBase: switchhosts-git
Version: 4.2.0.beta.r39.g6904119-1
Description: An app for managing hosts file,and switch hosts quickly!
URL: https://github.com/oldj/SwitchHosts
NumVotes: 0
Popularity: 0
OutOfDate:
Maintainer: zxp19821005
Submitter: zxp19821005
FirstSubmitted: 1698384233
LastModified: 1710501059
URLPath: /cgit/aur.git/snapshot/switchhosts-git.tar.gz