gcc11 on AUR (Arch User Repository)

Last updated: May 19,2024

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

$ yay -S gcc11

* (Optional) Uninstall gcc11 on Arch using YAY

$ yay -Rns gcc11

2. Manually Install "gcc11" via AUR

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

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

b. Clone gcc11's git locally

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

c. Go to ~/gcc11 folder and install it

$ cd ~/gcc11 $ makepkg -si

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

ID: 1276936
Name: gcc11
PackageBaseID: 192371
PackageBase: gcc11
Version: 11.4.0-1
Description: The GNU Compiler Collection - C and C++ frontends (11.x.x)
URL: https://gcc.gnu.org
NumVotes: 4
Popularity: 0.141154
OutOfDate:
Maintainer: tallero
Submitter: yan12125
FirstSubmitted: 1680683209
LastModified: 1687393807
URLPath: /cgit/aur.git/snapshot/gcc11.tar.gz