How to Install and Uninstall gcc-11 Package on Ubuntu 21.10 (Impish Indri)

Last updated: December 24,2024

1. Install "gcc-11" package

Please follow the guidance below to install gcc-11 on Ubuntu 21.10 (Impish Indri)

$ sudo apt update $ sudo apt install gcc-11

2. Uninstall "gcc-11" package

This guide let you learn how to uninstall gcc-11 on Ubuntu 21.10 (Impish Indri):

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

3. Information about the gcc-11 package on Ubuntu 21.10 (Impish Indri)

Package: gcc-11
Architecture: amd64
Version: 11.2.0-7ubuntu2
Priority: optional
Section: devel
Origin: Ubuntu
Maintainer: Ubuntu Core developers
Original-Maintainer: Debian GCC Maintainers
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Installed-Size: 165634
Provides: c-compiler
Depends: cpp-11 (= 11.2.0-7ubuntu2), gcc-11-base (= 11.2.0-7ubuntu2), libcc1-0 (>= 11.2.0-7ubuntu2), binutils (>= 2.37), libgcc-11-dev (= 11.2.0-7ubuntu2), libc6 (>= 2.34), libgcc-s1 (>= 3.0), libgmp10 (>= 2:5.0.1~), 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-7ubuntu2_amd64.deb
Size: 59320246
MD5sum: 247c592f9dff8fe0f4ea7fb91a44f2eb
SHA1: 3ffe460874410c87316a07509cb0159b68d610db
SHA256: d8dd705696a4cab47bcdf09039201ed721915e26ea6c919c0194398fb921a58e
SHA512: 5699bf94a2d76ac6d599309600de753ae2b8ae458ef5e97feeed42d8a2dfbeb125c2328afc2d2cafc2fa3c284842cc16a32d0d679ad02d8d0610575c6c96c55b
Homepage: http://gcc.gnu.org/
Description-en: GNU C compiler
This is the GNU C compiler, a fairly portable optimizing compiler for C.
Description-md5: 394374e688b1afb3af5f419895d29698
Task: ubuntustudio-video, ubuntu-mate-core, ubuntu-mate-desktop
Build-Essential: yes