gcc5 on AUR (Arch User Repository)

Last updated: September 28,2024

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

$ yay -S gcc5

* (Optional) Uninstall gcc5 on Arch using YAY

$ yay -Rns gcc5

2. Manually Install "gcc5" via AUR

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

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

b. Clone gcc5's git locally

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

c. Go to ~/gcc5 folder and install it

$ cd ~/gcc5 $ makepkg -si

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

ID: 1143797
Name: gcc5
PackageBaseID: 132155
PackageBase: gcc5
Version: 5.5.0-3
Description: The GNU Compiler Collection (5.x)
URL: https://gcc.gnu.org/gcc-5/
NumVotes: 16
Popularity: 0.000146
OutOfDate:
Maintainer: severach
Submitter: svenstaro
FirstSubmitted: 1525717404
LastModified: 1664037667
URLPath: /cgit/aur.git/snapshot/gcc5.tar.gz