gcc7 on AUR (Arch User Repository)

Last updated: November 24,2024

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

$ yay -S gcc7

* (Optional) Uninstall gcc7 on Arch using YAY

$ yay -Rns gcc7

2. Manually Install "gcc7" via AUR

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

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

b. Clone gcc7's git locally

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

c. Go to ~/gcc7 folder and install it

$ cd ~/gcc7 $ makepkg -si

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

ID: 1082427
Name: gcc7
PackageBaseID: 141078
PackageBase: gcc7
Version: 7.5.0-4
Description: The GNU Compiler Collection - C and C++ frontends (7.x.x)
URL: http://gcc.gnu.org
NumVotes: 17
Popularity: 0.001266
OutOfDate: 1681196002
Maintainer: ReyJamonico
Submitter: arojas
FirstSubmitted: 1554749903
LastModified: 1652974473
URLPath: /cgit/aur.git/snapshot/gcc7.tar.gz