How to Install and Uninstall g++-12 Package on Linux Mint 21 (Vanessa)
Last updated: November 07,2024
1. Install "g++-12" package
Here is a brief guide to show you how to install g++-12 on Linux Mint 21 (Vanessa)
$
sudo apt update
Copied
$
sudo apt install
g++-12
Copied
2. Uninstall "g++-12" package
Learn how to uninstall g++-12 on Linux Mint 21 (Vanessa):
$
sudo apt remove
g++-12
Copied
$
sudo apt autoclean && sudo apt autoremove
Copied
3. Information about the g++-12 package on Linux Mint 21 (Vanessa)
Package: g++-12
Architecture: amd64
Version: 12.3.0-1ubuntu1~22.04
Priority: optional
Section: universe/devel
Source: gcc-12
Origin: Ubuntu
Maintainer: Ubuntu Core developers
Original-Maintainer: Debian GCC Maintainers
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Installed-Size: 37259
Provides: c++-compiler, c++abi2-dev
Depends: gcc-12-base (= 12.3.0-1ubuntu1~22.04), gcc-12 (= 12.3.0-1ubuntu1~22.04), libstdc++-12-dev (= 12.3.0-1ubuntu1~22.04), libc6 (>= 2.35), 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++-12-multilib, gcc-12-doc (>= 12)
Filename: pool/universe/g/gcc-12/g++-12_12.3.0-1ubuntu1~22.04_amd64.deb
Size: 12185402
MD5sum: 53772f4d1a95702b51447371ccdd7577
SHA1: 1b4d2c960dd020e155e19bddbd15e6a39ce8a016
SHA256: cc58d001a4aec2f32b0dbdd34166f2c9e4a467efe573b08723eec99c0f63ad0f
SHA512: 9e9857778d96965698c3c78ea0e508e869a6cc367b163489b996b9f63c8fd9055870765c93ed12888bbefe31adc353ad1d58da013adf32746c207b06c8449930
Homepage: http://gcc.gnu.org/
Description: GNU C++ compiler
Description-md5: 0a3fad3367cb994bd16c61b0e16a8b9c
Package: g++-12
Architecture: amd64
Version: 12-20220319-1ubuntu1
Priority: optional
Section: universe/devel
Source: gcc-12
Origin: Ubuntu
Maintainer: Ubuntu Core developers
Original-Maintainer: Debian GCC Maintainers
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Installed-Size: 208936
Provides: c++-compiler, c++abi2-dev
Depends: gcc-12-base (= 12-20220319-1ubuntu1), gcc-12 (= 12-20220319-1ubuntu1), libstdc++-12-dev (= 12-20220319-1ubuntu1), libc6 (>= 2.35), 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++-12-multilib, gcc-12-doc (>= 12)
Filename: pool/universe/g/gcc-12/g++-12_12-20220319-1ubuntu1_amd64.deb
Size: 68800674
MD5sum: fab7132a3f8e89cc5448cad3dcae64bd
SHA1: 890fff937116f97bc7473665227b00112179c42c
SHA256: bccd4b93d584f3048d25fc8a7789ba0f234588cca023bd7e78b29b5b8c94ac87
SHA512: 02527aad46aa840da9121ce4b81c3cb924d5d681eff88924c01af91394b62b4532fc53ef10e267ad5015612cf91a9bd36d5f58fe445e9573cb7bb0d0915a5d6b
Homepage: http://gcc.gnu.org/
Description: GNU C++ compiler
Description-md5: 0a3fad3367cb994bd16c61b0e16a8b9c
Architecture: amd64
Version: 12.3.0-1ubuntu1~22.04
Priority: optional
Section: universe/devel
Source: gcc-12
Origin: Ubuntu
Maintainer: Ubuntu Core developers
Original-Maintainer: Debian GCC Maintainers
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Installed-Size: 37259
Provides: c++-compiler, c++abi2-dev
Depends: gcc-12-base (= 12.3.0-1ubuntu1~22.04), gcc-12 (= 12.3.0-1ubuntu1~22.04), libstdc++-12-dev (= 12.3.0-1ubuntu1~22.04), libc6 (>= 2.35), 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++-12-multilib, gcc-12-doc (>= 12)
Filename: pool/universe/g/gcc-12/g++-12_12.3.0-1ubuntu1~22.04_amd64.deb
Size: 12185402
MD5sum: 53772f4d1a95702b51447371ccdd7577
SHA1: 1b4d2c960dd020e155e19bddbd15e6a39ce8a016
SHA256: cc58d001a4aec2f32b0dbdd34166f2c9e4a467efe573b08723eec99c0f63ad0f
SHA512: 9e9857778d96965698c3c78ea0e508e869a6cc367b163489b996b9f63c8fd9055870765c93ed12888bbefe31adc353ad1d58da013adf32746c207b06c8449930
Homepage: http://gcc.gnu.org/
Description: GNU C++ compiler
Description-md5: 0a3fad3367cb994bd16c61b0e16a8b9c
Package: g++-12
Architecture: amd64
Version: 12-20220319-1ubuntu1
Priority: optional
Section: universe/devel
Source: gcc-12
Origin: Ubuntu
Maintainer: Ubuntu Core developers
Original-Maintainer: Debian GCC Maintainers
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Installed-Size: 208936
Provides: c++-compiler, c++abi2-dev
Depends: gcc-12-base (= 12-20220319-1ubuntu1), gcc-12 (= 12-20220319-1ubuntu1), libstdc++-12-dev (= 12-20220319-1ubuntu1), libc6 (>= 2.35), 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++-12-multilib, gcc-12-doc (>= 12)
Filename: pool/universe/g/gcc-12/g++-12_12-20220319-1ubuntu1_amd64.deb
Size: 68800674
MD5sum: fab7132a3f8e89cc5448cad3dcae64bd
SHA1: 890fff937116f97bc7473665227b00112179c42c
SHA256: bccd4b93d584f3048d25fc8a7789ba0f234588cca023bd7e78b29b5b8c94ac87
SHA512: 02527aad46aa840da9121ce4b81c3cb924d5d681eff88924c01af91394b62b4532fc53ef10e267ad5015612cf91a9bd36d5f58fe445e9573cb7bb0d0915a5d6b
Homepage: http://gcc.gnu.org/
Description: GNU C++ compiler
Description-md5: 0a3fad3367cb994bd16c61b0e16a8b9c