How to Install and Uninstall g++-9 Package on Linux Mint 20.3 (Una)

Last updated: May 06,2024

1. Install "g++-9" package

In this section, we are going to explain the necessary steps to install g++-9 on Linux Mint 20.3 (Una)

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

2. Uninstall "g++-9" package

This tutorial shows how to uninstall g++-9 on Linux Mint 20.3 (Una):

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

3. Information about the g++-9 package on Linux Mint 20.3 (Una)

Package: g++-9
Architecture: amd64
Version: 9.4.0-1ubuntu1~20.04.1
Priority: optional
Section: devel
Source: gcc-9
Origin: Ubuntu
Maintainer: Ubuntu Core developers
Original-Maintainer: Debian GCC Maintainers
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Installed-Size: 28016
Provides: c++-compiler, c++abi2-dev
Depends: gcc-9-base (= 9.4.0-1ubuntu1~20.04.1), gcc-9 (= 9.4.0-1ubuntu1~20.04.1), libstdc++-9-dev (= 9.4.0-1ubuntu1~20.04.1), libc6 (>= 2.14), libgmp10 (>= 2:5.0.1~), libisl22 (>= 0.15), libmpc3, libmpfr6 (>= 3.1.3), zlib1g (>= 1:1.1.4)
Suggests: g++-9-multilib, gcc-9-doc (>= 8)
Filename: pool/main/g/gcc-9/g++-9_9.4.0-1ubuntu1~20.04.1_amd64.deb
Size: 8420068
MD5sum: 141ba0bdc34f74aa37fd080a86b6a056
SHA1: 95e30b63f4667ab97162db112b5df88c12fd261f
SHA256: 819e3aad1e0dfeef9a27317a20a960f9df516d1da2cc874f1a0474e2af91dd07
SHA512: 7e450f3b9022171f9c4e1d4a030488f3e9a12f790577c86d211e48bb3d23772c1171466c551df7fc9a56c1d2b5771bf2515c17183e38680de3810a44881ca5ed
Homepage: http://gcc.gnu.org/
Description: GNU C++ compiler
Description-md5: 0a3fad3367cb994bd16c61b0e16a8b9c
Task: ubuntu-mate-core, ubuntu-mate-desktop
Build-Essential: yes

Package: g++-9
Architecture: amd64
Version: 9.3.0-10ubuntu2
Priority: optional
Section: devel
Source: gcc-9
Origin: Ubuntu
Maintainer: Ubuntu Core developers
Original-Maintainer: Debian GCC Maintainers
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Installed-Size: 27985
Provides: c++-compiler, c++abi2-dev
Depends: gcc-9-base (= 9.3.0-10ubuntu2), gcc-9 (= 9.3.0-10ubuntu2), libstdc++-9-dev (= 9.3.0-10ubuntu2), libc6 (>= 2.14), libgmp10 (>= 2:5.0.1~), libisl22 (>= 0.15), libmpc3, libmpfr6 (>= 3.1.3), zlib1g (>= 1:1.1.4)
Suggests: g++-9-multilib, gcc-9-doc (>= 8)
Filename: pool/main/g/gcc-9/g++-9_9.3.0-10ubuntu2_amd64.deb
Size: 8404272
MD5sum: 5007ef0d395d8594bf86a38fdb63cfee
SHA1: 0a2f11522788b1151aaf86814d6448212e6af7ea
SHA256: d3a28ee92e65e4f719fec86063bb83961b21fe52b737a967ba00936b32b72c12
Homepage: http://gcc.gnu.org/
Description: GNU C++ compiler
Description-md5: 0a3fad3367cb994bd16c61b0e16a8b9c
Task: ubuntu-mate-core, ubuntu-mate-desktop
Build-Essential: yes