How to Install and Uninstall g++-8 Package on Ubuntu 20.10 (Groovy Gorilla)

Last updated: November 24,2024

1. Install "g++-8" package

In this section, we are going to explain the necessary steps to install g++-8 on Ubuntu 20.10 (Groovy Gorilla)

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

2. Uninstall "g++-8" package

In this section, we are going to explain the necessary steps to uninstall g++-8 on Ubuntu 20.10 (Groovy Gorilla):

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

3. Information about the g++-8 package on Ubuntu 20.10 (Groovy Gorilla)

Package: g++-8
Architecture: amd64
Version: 8.4.0-4ubuntu1
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: 27863
Provides: c++-compiler, c++abi2-dev
Depends: gcc-8-base (= 8.4.0-4ubuntu1), gcc-8 (= 8.4.0-4ubuntu1), libstdc++-8-dev (= 8.4.0-4ubuntu1), 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-4ubuntu1_amd64.deb
Size: 10090860
MD5sum: 33459525821e8e73e772b17245e23eb8
SHA1: 647389063a23b4b420d6ee2cba79a4d04ef55ce3
SHA256: 72a5c41d7c31841dadd2537eb3515e3fb9f974b68464d59d3a969471b29a1323
SHA512: d10e662cac4fee16a129db25a3365ab4fdaebb7ecb0227f36642a0b78188f7ebc2526f53c7182a0eb43bc840183e54ac3ed50d1892cc3f8abc38b255da5587ed
Homepage: http://gcc.gnu.org/
Description-en: GNU C++ compiler
This is the GNU C++ compiler, a fairly portable optimizing compiler for C++.
Description-md5: 0a3fad3367cb994bd16c61b0e16a8b9c