How to Install and Uninstall g++-11 Package on Linux Mint 21.3 (Virginia)

Last updated: November 13,2024

1. Install "g++-11" package

Please follow the instructions below to install g++-11 on Linux Mint 21.3 (Virginia)

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

2. Uninstall "g++-11" package

Here is a brief guide to show you how to uninstall g++-11 on Linux Mint 21.3 (Virginia):

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

3. Information about the g++-11 package on Linux Mint 21.3 (Virginia)

Package: g++-11
Architecture: amd64
Version: 11.4.0-1ubuntu1~22.04
Priority: optional
Build-Essential: yes
Section: devel
Source: gcc-11
Origin: Ubuntu
Maintainer: Ubuntu Core developers
Original-Maintainer: Debian GCC Maintainers
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Installed-Size: 28891
Provides: c++-compiler, c++abi2-dev
Depends: gcc-11-base (= 11.4.0-1ubuntu1~22.04), gcc-11 (= 11.4.0-1ubuntu1~22.04), libstdc++-11-dev (= 11.4.0-1ubuntu1~22.04), libc6 (>= 2.34), libgmp10 (>= 2:6.2.1+dfsg), libisl23 (>= 0.15), libmpc3 (>= 1.1.0), libmpfr6 (>= 3.1.3), libzstd1 (>= 1.4.0), zlib1g (>= 1:1.1.4)
Suggests: g++-11-multilib, gcc-11-doc (>= 11)
Filename: pool/main/g/gcc-11/g++-11_11.4.0-1ubuntu1~22.04_amd64.deb
Size: 11423434
MD5sum: d3e774b5b3c890ee54f327ae69e87595
SHA1: 24739f6e336d11059fcd2e7430da3ad5736bf1b6
SHA256: b9fe023f121bd9c0400d3938db352385b1fbe186592b2fc639148fad1937101d
SHA512: dd83655e38c8ea424397defcbe8c54140571de9d3d3b2cdc5a9e1c5bf0f6ef0675612708bdd33d68f0a8323af374765be6576c4018f48a8be1e146b037532cc8
Homepage: http://gcc.gnu.org/
Description: GNU C++ compiler
Description-md5: 0a3fad3367cb994bd16c61b0e16a8b9c
Task: ubuntustudio-video, ubuntustudio-publishing, ubuntu-mate-core, ubuntu-mate-desktop

Package: g++-11
Architecture: amd64
Version: 11.2.0-19ubuntu1
Priority: optional
Section: devel
Source: gcc-11
Origin: Ubuntu
Maintainer: Ubuntu Core developers
Original-Maintainer: Debian GCC Maintainers
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Installed-Size: 28780
Provides: c++-compiler, c++abi2-dev
Depends: gcc-11-base (= 11.2.0-19ubuntu1), gcc-11 (= 11.2.0-19ubuntu1), libstdc++-11-dev (= 11.2.0-19ubuntu1), libc6 (>= 2.34), libgmp10 (>= 2:6.2.1+dfsg), libisl23 (>= 0.15), libmpc3 (>= 1.1.0), libmpfr6 (>= 3.1.3), libzstd1 (>= 1.4.0), zlib1g (>= 1:1.1.4)
Suggests: g++-11-multilib, gcc-11-doc (>= 11)
Filename: pool/main/g/gcc-11/g++-11_11.2.0-19ubuntu1_amd64.deb
Size: 11391844
MD5sum: 6ac7c92cefa041aca50c00dcc668b0b8
SHA1: 942f18913ee804fcc319169dcd405f1b5eae7758
SHA256: 373f35df458c26a7461473409628f88c0787679068e0fc794be6d01ebc8cfb3d
SHA512: e688f880f470a9d0fc45d52c8e2794b1a18d8af76ddb142e9ae24a03eec9061254eed995f4f382f4239fbf6f7259825bb6130f292f20b9f239cdef6665600b28
Homepage: http://gcc.gnu.org/
Description: GNU C++ compiler
Description-md5: 0a3fad3367cb994bd16c61b0e16a8b9c
Task: ubuntustudio-video, ubuntustudio-publishing, ubuntu-mate-core, ubuntu-mate-desktop
Build-Essential: yes