mkinitcpio-hostname on AUR (Arch User Repository)

Last updated: May 14,2024

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

$ yay -S mkinitcpio-hostname

* (Optional) Uninstall mkinitcpio-hostname on Arch using YAY

$ yay -Rns mkinitcpio-hostname

2. Manually Install "mkinitcpio-hostname" via AUR

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

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

b. Clone mkinitcpio-hostname's git locally

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

c. Go to ~/mkinitcpio-hostname folder and install it

$ cd ~/mkinitcpio-hostname $ makepkg -si

3. Information about the mkinitcpio-hostname package on Arch User Repository (AUR)

ID: 1186601
Name: mkinitcpio-hostname
PackageBaseID: 59631
PackageBase: mkinitcpio-hostname
Version: 0.2.2-1
Description: Set hostname for main system inside initrd
URL: https://github.com/eworm-de/mkinitcpio-hostname
NumVotes: 2
Popularity: 0
OutOfDate:
Maintainer: eworm
Submitter: eworm
FirstSubmitted: 1338379115
LastModified: 1671707584
URLPath: /cgit/aur.git/snapshot/mkinitcpio-hostname.tar.gz