gcc9 on AUR (Arch User Repository)

Last updated: September 29,2024

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

$ yay -S gcc9

* (Optional) Uninstall gcc9 on Arch using YAY

$ yay -Rns gcc9

2. Manually Install "gcc9" via AUR

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

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

b. Clone gcc9's git locally

$ git clone https://aur.archlinux.org/gcc9.git ~/gcc9

c. Go to ~/gcc9 folder and install it

$ cd ~/gcc9 $ makepkg -si

3. Information about the gcc9 package on Arch User Repository (AUR)

ID: 1207054
Name: gcc9
PackageBaseID: 160182
PackageBase: gcc9
Version: 9.5.0-1
Description: The GNU Compiler Collection - C and C++ frontends (9.x.x)
URL: https://gcc.gnu.org
NumVotes: 10
Popularity: 0.103978
OutOfDate:
Maintainer: severach
Submitter: dvzrv
FirstSubmitted: 1606161594
LastModified: 1675635164
URLPath: /cgit/aur.git/snapshot/gcc9.tar.gz

5. The same packages on other Linux Distributions