How to Install and Uninstall gcc-11 Package on Ubuntu 22.04 LTS (Jammy Jellyfish)

Last updated: December 29,2024

1. Install "gcc-11" package

Please follow the guidelines below to install gcc-11 on Ubuntu 22.04 LTS (Jammy Jellyfish)

$ sudo apt update $ sudo apt install gcc-11

2. Uninstall "gcc-11" package

This is a short guide on how to uninstall gcc-11 on Ubuntu 22.04 LTS (Jammy Jellyfish):

$ sudo apt remove gcc-11 $ sudo apt autoclean && sudo apt autoremove

3. Information about the gcc-11 package on Ubuntu 22.04 LTS (Jammy Jellyfish)

Package: gcc-11
Architecture: amd64
Version: 11.4.0-1ubuntu1~22.04
Priority: optional
Build-Essential: yes
Section: devel
Origin: Ubuntu
Maintainer: Ubuntu Core developers
Original-Maintainer: Debian GCC Maintainers
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Installed-Size: 52747
Provides: c-compiler
Depends: cpp-11 (= 11.4.0-1ubuntu1~22.04), gcc-11-base (= 11.4.0-1ubuntu1~22.04), libcc1-0 (>= 11.4.0-1ubuntu1~22.04), binutils (>= 2.38), libgcc-11-dev (= 11.4.0-1ubuntu1~22.04), libc6 (>= 2.34), libgcc-s1 (>= 3.0), libgmp10 (>= 2:6.2.1+dfsg), libisl23 (>= 0.15), libmpc3 (>= 1.1.0), libmpfr6 (>= 3.1.3), libstdc++6 (>= 5), libzstd1 (>= 1.4.0), zlib1g (>= 1:1.1.4)
Recommends: libc6-dev (>= 2.13-0ubuntu6)
Suggests: gcc-11-multilib, gcc-11-doc (>= 11), gcc-11-locales (>= 11)
Replaces: cpp-11 (<< 7.1.1-8)
Filename: pool/main/g/gcc-11/gcc-11_11.4.0-1ubuntu1~22.04_amd64.deb
Size: 20140268
MD5sum: 52a798d924df055648136cb98d32f7f6
SHA1: 0c02bdfdd882406a7505d81bdc064d1108c57e39
SHA256: ac218d4917da42d55e269a9650264bf3b7f7e211d3d7d665c63eb74db8222e12
SHA512: c42de414dcbb775363578b331e53ef41fc294f7784693477224557fd485174723954c8b0ac21588e8aaf4ca0095c94382a6aba2469ff086a7d19fdf4c169c4eb
Homepage: http://gcc.gnu.org/
Description: GNU C compiler
Description-md5: 394374e688b1afb3af5f419895d29698
Task: ubuntustudio-video, ubuntustudio-publishing, ubuntu-mate-core, ubuntu-mate-desktop

Package: gcc-11
Architecture: amd64
Version: 11.2.0-19ubuntu1
Priority: optional
Section: devel
Origin: Ubuntu
Maintainer: Ubuntu Core developers
Original-Maintainer: Debian GCC Maintainers
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Installed-Size: 52559
Provides: c-compiler
Depends: cpp-11 (= 11.2.0-19ubuntu1), gcc-11-base (= 11.2.0-19ubuntu1), libcc1-0 (>= 11.2.0-19ubuntu1), binutils (>= 2.38), libgcc-11-dev (= 11.2.0-19ubuntu1), libc6 (>= 2.34), libgcc-s1 (>= 3.0), libgmp10 (>= 2:6.2.1+dfsg), libisl23 (>= 0.15), libmpc3 (>= 1.1.0), libmpfr6 (>= 3.1.3), libstdc++6 (>= 5), libzstd1 (>= 1.4.0), zlib1g (>= 1:1.1.4)
Recommends: libc6-dev (>= 2.13-0ubuntu6)
Suggests: gcc-11-multilib, gcc-11-doc (>= 11), gcc-11-locales (>= 11)
Replaces: cpp-11 (<< 7.1.1-8)
Filename: pool/main/g/gcc-11/gcc-11_11.2.0-19ubuntu1_amd64.deb
Size: 20082430
MD5sum: 5341515cba14bc628d2100afc2345758
SHA1: 9030949bedc279867112d9e252a1adeeb0b44828
SHA256: 0320b98a2d4664b10f6de2ec3f3e2409cb8c3dbec8c32d938a6beaa78e1fed76
SHA512: 65eb43b18ab7034d20f04d7b649856d0ebe143994b7edb7367322159ca54212d832021648e9958f770c8941ca4ca8fef55b82288b8e706319013ec5ebe666197
Homepage: http://gcc.gnu.org/
Description: GNU C compiler
Description-md5: 394374e688b1afb3af5f419895d29698
Task: ubuntustudio-video, ubuntustudio-publishing, ubuntu-mate-core, ubuntu-mate-desktop
Build-Essential: yes