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

Last updated: May 10,2024

1. Install "g++-8" package

Please follow the guidance below to install g++-8 on Linux Mint 20.3 (Una)

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

2. Uninstall "g++-8" package

This is a short guide on how to uninstall g++-8 on Linux Mint 20.3 (Una):

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

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

Package: g++-8
Architecture: amd64
Version: 8.4.0-3ubuntu2
Priority: optional
Section: universe/devel
Source: gcc-8
Origin: Ubuntu
Maintainer: Ubuntu Core developers
Original-Maintainer: Debian GCC Maintainers
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Installed-Size: 27895
Provides: c++-compiler, c++abi2-dev
Depends: gcc-8-base (= 8.4.0-3ubuntu2), gcc-8 (= 8.4.0-3ubuntu2), libstdc++-8-dev (= 8.4.0-3ubuntu2), libc6 (>= 2.14), libgmp10 (>= 2:5.0.1~), libisl22 (>= 0.15), libmpc3, libmpfr6 (>= 3.1.3), zlib1g (>= 1:1.1.4)
Suggests: g++-8-multilib, gcc-8-doc (>= 8)
Filename: pool/universe/g/gcc-8/g++-8_8.4.0-3ubuntu2_amd64.deb
Size: 10104004
MD5sum: 65ec9ec714afafc9a05accc28736e27c
SHA1: 78bf066a206ea9aa28539be1165343670808bd43
SHA256: 0ce2c4174400cbd32a3e7cec830331dab1338f1e82d35fc8f963fc20a7d77270
Homepage: http://gcc.gnu.org/
Description: GNU C++ compiler
Description-md5: 0a3fad3367cb994bd16c61b0e16a8b9c