How to Install and Uninstall g++-8 Package on Debian 10 (Buster)

Last updated: May 17,2024

1. Install "g++-8" package

Please follow the instructions below to install g++-8 on Debian 10 (Buster)

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

2. Uninstall "g++-8" package

Here is a brief guide to show you how to uninstall g++-8 on Debian 10 (Buster):

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

3. Information about the g++-8 package on Debian 10 (Buster)

Package: g++-8
Source: gcc-8
Version: 8.3.0-6
Installed-Size: 27430
Maintainer: Debian GCC Maintainers
Architecture: amd64
Provides: c++-compiler, c++abi2-dev
Depends: gcc-8-base (= 8.3.0-6), gcc-8 (= 8.3.0-6), libstdc++-8-dev (= 8.3.0-6), libc6 (>= 2.14), libgmp10 (>= 2:5.0.1~), libisl19 (>= 0.15), libmpc3, libmpfr6 (>= 3.1.3), zlib1g (>= 1:1.1.4)
Suggests: g++-8-multilib, gcc-8-doc (>= 8), libstdc++6-8-dbg (>= 8.3.0-6)
Description: GNU C++ compiler
Description-md5: 0a3fad3367cb994bd16c61b0e16a8b9c
Homepage: http://gcc.gnu.org/
Section: devel
Priority: optional
Filename: pool/main/g/gcc-8/g++-8_8.3.0-6_amd64.deb
Size: 9752468
MD5sum: d18af2fbebcaa7e1248acc88eac2b63b
SHA256: d333c8986adff11fb54aed83e1b29f99996c321f7fb5b75614d66e5aa611a5d8