How to Install and Uninstall g++-8 Package on Ubuntu 21.10 (Impish Indri)

Last updated: May 09,2024

1. Install "g++-8" package

Please follow the guidelines below to install g++-8 on Ubuntu 21.10 (Impish Indri)

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

2. Uninstall "g++-8" package

Please follow the steps below to uninstall g++-8 on Ubuntu 21.10 (Impish Indri):

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

3. Information about the g++-8 package on Ubuntu 21.10 (Impish Indri)

Package: g++-8
Architecture: amd64
Version: 8.5.0-0ubuntu4
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: 27885
Provides: c++-compiler, c++abi2-dev
Depends: gcc-8-base (= 8.5.0-0ubuntu4), gcc-8 (= 8.5.0-0ubuntu4), libstdc++-8-dev (= 8.5.0-0ubuntu4), libc6 (>= 2.34), libgmp10 (>= 2:5.0.1~), libisl23 (>= 0.15), libmpc3 (>= 1.1.0), 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.5.0-0ubuntu4_amd64.deb
Size: 10866204
MD5sum: 6132b3a8e9b6943def6bf1ea1cd01029
SHA1: 419196e56d429b99739d37264a0cec2b310c9594
SHA256: 86d7bd9d370ce9debc728f5e4a8bacdbaf96fc592968636d9e94dbf10768102d
SHA512: 1a2ffabca3e5ca485bfb750e6015f45aa06de77a6ec96660c4fe40d53d25f5aad0f6c1e9ca5da745f137cc0bfa29e0112eee4ba2865131d790d8efc51a0e7006
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