riscv-gnu-toolchain on AUR (Arch User Repository)

Last updated: December 25,2024

1. Install "riscv-gnu-toolchain" 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 riscv-gnu-toolchain on Arch using YAY

$ yay -S riscv-gnu-toolchain

* (Optional) Uninstall riscv-gnu-toolchain on Arch using YAY

$ yay -Rns riscv-gnu-toolchain

2. Manually Install "riscv-gnu-toolchain" via AUR

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

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

b. Clone riscv-gnu-toolchain's git locally

$ git clone https://aur.archlinux.org/riscv-gnu-toolchain.git ~/riscv-gnu-toolchain

c. Go to ~/riscv-gnu-toolchain folder and install it

$ cd ~/riscv-gnu-toolchain $ makepkg -si

3. Information about the riscv-gnu-toolchain package on Arch User Repository (AUR)

ID: 1111283
Name: riscv-gnu-toolchain
PackageBaseID: 171226
PackageBase: riscv-gnu-toolchain
Version: 2022.06.10-2
Description: GNU toolchain for RISC-V, including GCC. Includes: riscv64-unknown-elf-gcc, riscv32-unknown-elf-gcc, riscv64-unknown-linux-gnu-gcc, and riscv32-unknown-linux-gnu-gcc.
URL: https://github.com/riscv-collab/riscv-gnu-toolchain
NumVotes: 0
Popularity: 0
OutOfDate:
Maintainer: sickcodes
FirstSubmitted: 1632133531
LastModified: 1657687607
URLPath: /cgit/aur.git/snapshot/riscv-gnu-toolchain.tar.gz