gcc-11 on AUR (Arch User Repository)

Last updated: May 18,2024

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

$ yay -S gcc-11

* (Optional) Uninstall gcc-11 on Arch using YAY

$ yay -Rns gcc-11

2. Manually Install "gcc-11" via AUR

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

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

b. Clone gcc-11's git locally

$ git clone https://aur.archlinux.org/gcc-11.git ~/gcc-11

c. Go to ~/gcc-11 folder and install it

$ cd ~/gcc-11 $ makepkg -si

3. Information about the gcc-11 package on Arch User Repository (AUR)

ID: 1110772
Name: gcc-11
PackageBaseID: 183682
PackageBase: gcc-11
Version: 11.1.0-1
Description: The GNU Compiler Collection (version 11.1.0) for remote debugging compability of clion
URL: https://gcc.gnu.org
NumVotes: 1
Popularity: 0.329804
OutOfDate:
Maintainer:
FirstSubmitted: 1656681958
LastModified: 1657579960
URLPath: /cgit/aur.git/snapshot/gcc-11.tar.gz