cargo-diet on AUR (Arch User Repository)

Last updated: July 03,2024

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

$ yay -S cargo-diet

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

$ yay -Rns cargo-diet

2. Manually Install "cargo-diet" via AUR

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

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

b. Clone cargo-diet's git locally

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

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

$ cd ~/cargo-diet $ makepkg -si

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

ID: 1294028
Name: cargo-diet
PackageBaseID: 161349
PackageBase: cargo-diet
Version: 1.2.7-1
Description: Make your crate lean by computing size-optimal include directives for Cargo m...
URL: https://crates.io/crates/cargo-diet
NumVotes: 1
Popularity: 0
OutOfDate:
Maintainer: msrd0
Submitter: msrd0
FirstSubmitted: 1609178092
LastModified: 1690244778
URLPath: /cgit/aur.git/snapshot/cargo-diet.tar.gz