How to Install and Uninstall g++-10 Package on Debian 11 (Bullseye)

Last updated: May 16,2024

1. Install "g++-10" package

Learn how to install g++-10 on Debian 11 (Bullseye)

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

2. Uninstall "g++-10" package

In this section, we are going to explain the necessary steps to uninstall g++-10 on Debian 11 (Bullseye):

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

3. Information about the g++-10 package on Debian 11 (Bullseye)

Package: g++-10
Source: gcc-10
Version: 10.2.1-6
Installed-Size: 27441
Maintainer: Debian GCC Maintainers
Architecture: amd64
Provides: c++-compiler, c++abi2-dev
Depends: gcc-10-base (= 10.2.1-6), gcc-10 (= 10.2.1-6), libstdc++-10-dev (= 10.2.1-6), libc6 (>= 2.14), libgmp10 (>= 2:5.0.1~), libisl23 (>= 0.15), libmpc3 (>= 1.1.0), libmpfr6 (>= 3.1.3), libzstd1 (>= 1.3.2), zlib1g (>= 1:1.1.4)
Suggests: g++-10-multilib, gcc-10-doc (>= 10)
Description: GNU C++ compiler
Description-md5: 0a3fad3367cb994bd16c61b0e16a8b9c
Homepage: http://gcc.gnu.org/
Section: devel
Priority: optional
Filename: pool/main/g/gcc-10/g++-10_10.2.1-6_amd64.deb
Size: 9380108
MD5sum: 07b6de108654bb644f1bb16bf7dfd507
SHA256: d25a7566c15c63c56eb34fa98e0663805ceb7cfd8054c2b6ae3f09be6982671c