cargo-hack on AUR (Arch User Repository)

Last updated: June 30,2024

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

$ yay -S cargo-hack

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

$ yay -Rns cargo-hack

2. Manually Install "cargo-hack" via AUR

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

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

b. Clone cargo-hack's git locally

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

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

$ cd ~/cargo-hack $ makepkg -si

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

ID: 1125865
Name: cargo-hack
PackageBaseID: 168020
PackageBase: cargo-hack
Version: 0.5.17-1
Description: A cargo subcommand to provide various options useful for testing and continuous integration
URL: https://github.com/taiki-e/cargo-hack
NumVotes: 1
Popularity: 0.063407
OutOfDate:
Maintainer: flakusha
FirstSubmitted: 1623794308
LastModified: 1660467984
URLPath: /cgit/aur.git/snapshot/cargo-hack.tar.gz

5. The same packages on other Linux Distributions