cmd-not-found on AUR (Arch User Repository)

Last updated: November 08,2024

1. Install "cmd-not-found" 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 cmd-not-found on Arch using YAY

$ yay -S cmd-not-found

* (Optional) Uninstall cmd-not-found on Arch using YAY

$ yay -Rns cmd-not-found

2. Manually Install "cmd-not-found" via AUR

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

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

b. Clone cmd-not-found's git locally

$ git clone https://aur.archlinux.org/cmd-not-found.git ~/cmd-not-found

c. Go to ~/cmd-not-found folder and install it

$ cd ~/cmd-not-found $ makepkg -si

3. Information about the cmd-not-found package on Arch User Repository (AUR)

ID: 1089817
Name: cmd-not-found
PackageBaseID: 177870
PackageBase: cmd-not-found
Version: 1.2.0-2
Description: A simple hook to display required packages when a command is not found
URL: https://github.com/jewlexx/cmd-not-found
NumVotes: 1
Popularity: 1.0E-6
OutOfDate:
Maintainer: jewelexx
Submitter: jewelexx
FirstSubmitted: 1649678756
LastModified: 1654316526
URLPath: /cgit/aur.git/snapshot/cmd-not-found.tar.gz