How to Install and Uninstall g++-11 Package on Ubuntu 23.10 (Mantic Minotaur)

Last updated: January 10,2025

1. Install "g++-11" package

Please follow the guidance below to install g++-11 on Ubuntu 23.10 (Mantic Minotaur)

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

2. Uninstall "g++-11" package

This is a short guide on how to uninstall g++-11 on Ubuntu 23.10 (Mantic Minotaur):

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

3. Information about the g++-11 package on Ubuntu 23.10 (Mantic Minotaur)

Package: g++-11
Architecture: amd64
Version: 11.4.0-4ubuntu1
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: 28899
Provides: c++-compiler, c++abi2-dev
Depends: gcc-11-base (= 11.4.0-4ubuntu1), gcc-11 (= 11.4.0-4ubuntu1), libstdc++-11-dev (= 11.4.0-4ubuntu1), libc6 (>= 2.38), libgmp10 (>= 2:6.3.0+dfsg), libisl23 (>= 0.15), libmpc3 (>= 1.1.0), libmpfr6 (>= 3.1.3), libzstd1 (>= 1.5.5), zlib1g (>= 1:1.1.4)
Suggests: g++-11-multilib, gcc-11-doc (>= 11)
Filename: pool/universe/g/gcc-11/g++-11_11.4.0-4ubuntu1_amd64.deb
Size: 11351388
MD5sum: 7a12f267f2a46c3c006d58e02495a04b
SHA1: ebafdd2d2a362e61ce76853199c4b7be11c4427b
SHA256: 42ffa34b6722427a9dfd38b38455444dd70f1e3ed2e813bb1381e98b4c2f5898
SHA512: bbf918921779c2eb8863aed3b2ac35e2846f6b73d1bf808b000b23bbb4f150dd2ce23c16c8c14aa43db8bc1bdf3b914ceafb053528b6efdbe24fc91c1f3b8a9f
Homepage: http://gcc.gnu.org/
Description: GNU C++ compiler
Description-md5: 0a3fad3367cb994bd16c61b0e16a8b9c