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

Last updated: June 06,2024

1. Install "g++-11" package

Please follow the guidance below to install g++-11 on Ubuntu 22.10 (Kinetic Kudu)

$ sudo apt update $ sudo apt install g++-11

2. Uninstall "g++-11" package

This guide covers the steps necessary to uninstall g++-11 on Ubuntu 22.10 (Kinetic Kudu):

$ sudo apt remove g++-11 $ sudo apt autoclean && sudo apt autoremove

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

Package: g++-11
Architecture: amd64
Version: 11.3.0-6ubuntu1
Priority: optional
Section: universe/devel
Source: gcc-11
Origin: Ubuntu
Maintainer: Ubuntu Core developers
Original-Maintainer: Debian GCC Maintainers
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Installed-Size: 28804
Provides: c++-compiler, c++abi2-dev
Depends: gcc-11-base (= 11.3.0-6ubuntu1), gcc-11 (= 11.3.0-6ubuntu1), libstdc++-11-dev (= 11.3.0-6ubuntu1), libc6 (>= 2.34), libgmp10 (>= 2:6.2.1+dfsg1), libisl23 (>= 0.15), libmpc3 (>= 1.1.0), libmpfr6 (>= 3.1.3), libzstd1 (>= 1.5.2), zlib1g (>= 1:1.1.4)
Suggests: g++-11-multilib, gcc-11-doc (>= 11)
Filename: pool/universe/g/gcc-11/g++-11_11.3.0-6ubuntu1_amd64.deb
Size: 11335724
MD5sum: 51de095be6f8b42536d73d67164cbdf5
SHA1: 9ce56ccbe01ea773612ea5ab908d82eec0b4e578
SHA256: 574c8f8cb1c01c50bac5b6b090f4b33dca910efd434d9eb09987823804f7644c
SHA512: 1a41e77062178826911d9e7dda8f7ec00918c318f74cd449aa8712acb847ec16d839d679b44e32f240a5e92b4caba3949f65d29e5bac6142a12db16da04c64a1
Homepage: http://gcc.gnu.org/
Description: GNU C++ compiler
Description-md5: 0a3fad3367cb994bd16c61b0e16a8b9c