pacman-cleanup-hook on AUR (Arch User Repository)

Last updated: November 07,2024

1. Install "pacman-cleanup-hook" 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 pacman-cleanup-hook on Arch using YAY

$ yay -S pacman-cleanup-hook

* (Optional) Uninstall pacman-cleanup-hook on Arch using YAY

$ yay -Rns pacman-cleanup-hook

2. Manually Install "pacman-cleanup-hook" via AUR

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

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

b. Clone pacman-cleanup-hook's git locally

$ git clone https://aur.archlinux.org/pacman-cleanup-hook.git ~/pacman-cleanup-hook

c. Go to ~/pacman-cleanup-hook folder and install it

$ cd ~/pacman-cleanup-hook $ makepkg -si

3. Information about the pacman-cleanup-hook package on Arch User Repository (AUR)

ID: 994489
Name: pacman-cleanup-hook
PackageBaseID: 161787
PackageBase: pacman-cleanup-hook
Version: 1.1-1
Description: hook to cleanup pacman cache keeping only the installed plus next most recent packages
URL:
NumVotes: 52
Popularity: 0.225585
OutOfDate:
Maintainer: alerque
Submitter: alerque
FirstSubmitted: 1610047102
LastModified: 1637985023
URLPath: /cgit/aur.git/snapshot/pacman-cleanup-hook.tar.gz