cargo-wasi on AUR (Arch User Repository)

Last updated: November 23,2024

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

$ yay -S cargo-wasi

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

$ yay -Rns cargo-wasi

2. Manually Install "cargo-wasi" via AUR

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

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

b. Clone cargo-wasi's git locally

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

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

$ cd ~/cargo-wasi $ makepkg -si

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

ID: 1333756
Name: cargo-wasi
PackageBaseID: 188169
PackageBase: cargo-wasi
Version: 0.1.28-1
Description: A lightweight Cargo subcommand to build Rust code for the `wasm32-wasi` target
URL: https://bytecodealliance.github.io/cargo-wasi
NumVotes: 0
Popularity: 0
OutOfDate:
Maintainer: christoph.gysin
Submitter: christoph.gysin
FirstSubmitted: 1669316984
LastModified: 1697263993
URLPath: /cgit/aur.git/snapshot/cargo-wasi.tar.gz