How to Install and Uninstall gcc-11 Package on Ubuntu 22.10 (Kinetic Kudu)

Last updated: December 24,2024

1. Install "gcc-11" package

Please follow the instructions below to install gcc-11 on Ubuntu 22.10 (Kinetic Kudu)

$ sudo apt update $ sudo apt install gcc-11

2. Uninstall "gcc-11" package

Here is a brief guide to show you how to uninstall gcc-11 on Ubuntu 22.10 (Kinetic Kudu):

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

3. Information about the gcc-11 package on Ubuntu 22.10 (Kinetic Kudu)

Package: gcc-11
Architecture: amd64
Version: 11.3.0-6ubuntu1
Priority: optional
Section: universe/devel
Origin: Ubuntu
Maintainer: Ubuntu Core developers
Original-Maintainer: Debian GCC Maintainers
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Installed-Size: 52585
Provides: c-compiler
Depends: cpp-11 (= 11.3.0-6ubuntu1), gcc-11-base (= 11.3.0-6ubuntu1), libcc1-0 (>= 11.3.0-6ubuntu1), binutils (>= 2.39), libgcc-11-dev (= 11.3.0-6ubuntu1), libc6 (>= 2.34), libgcc-s1 (>= 3.0), libgmp10 (>= 2:6.2.1+dfsg1), libisl23 (>= 0.15), libmpc3 (>= 1.1.0), libmpfr6 (>= 3.1.3), libstdc++6 (>= 5), libzstd1 (>= 1.5.2), 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/universe/g/gcc-11/gcc-11_11.3.0-6ubuntu1_amd64.deb
Size: 19978086
MD5sum: 9179025a1416028b326e0c06315cfd15
SHA1: 91a1b20b0bdbc197c2d4799b00317cabf31b8c26
SHA256: f6b5df319e787f6a50fff7dd018bbb328c360a362f5c33160d7ef9cb72961d47
SHA512: ef026eee1cc2ea24b0483aae179bacb5eafae260b8c54d5176912e1f437e09090d0398bdc92f4a75bbfddf9cd75730805f98c0866ba60bccdcc2d8dc16d12ce8
Homepage: http://gcc.gnu.org/
Description: GNU C compiler
Description-md5: 394374e688b1afb3af5f419895d29698