cargo-prefetch on AUR (Arch User Repository)

Last updated: November 24,2024

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

$ yay -S cargo-prefetch

* (Optional) Uninstall cargo-prefetch on Arch using YAY

$ yay -Rns cargo-prefetch

2. Manually Install "cargo-prefetch" via AUR

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

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

b. Clone cargo-prefetch's git locally

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

c. Go to ~/cargo-prefetch folder and install it

$ cd ~/cargo-prefetch $ makepkg -si

3. Information about the cargo-prefetch package on Arch User Repository (AUR)

ID: 944889
Name: cargo-prefetch
PackageBaseID: 169667
PackageBase: cargo-prefetch
Version: 0.1.0-1
Description: A Cargo subcommand to download popular crates
URL: https://github.com/ehuss/cargo-prefetch
NumVotes: 1
Popularity: 0
OutOfDate:
Maintainer: grawlinson
Submitter: grawlinson
FirstSubmitted: 1628333649
LastModified: 1628333649
URLPath: /cgit/aur.git/snapshot/cargo-prefetch.tar.gz