How to Install and Uninstall g++-9 Package on Debian 11 (Bullseye)
Last updated: November 06,2024
1. Install "g++-9" package
Please follow the guidance below to install g++-9 on Debian 11 (Bullseye)
$
sudo apt update
Copied
$
sudo apt install
g++-9
Copied
2. Uninstall "g++-9" package
This is a short guide on how to uninstall g++-9 on Debian 11 (Bullseye):
$
sudo apt remove
g++-9
Copied
$
sudo apt autoclean && sudo apt autoremove
Copied
3. Information about the g++-9 package on Debian 11 (Bullseye)
Package: g++-9
Source: gcc-9
Version: 9.3.0-22
Installed-Size: 29774
Maintainer: Debian GCC Maintainers
Architecture: amd64
Provides: c++-compiler, c++abi2-dev
Depends: gcc-9-base (= 9.3.0-22), gcc-9 (= 9.3.0-22), libstdc++-9-dev (= 9.3.0-22), libc6 (>= 2.14), libgmp10 (>= 2:5.0.1~), libisl23 (>= 0.15), libmpc3 (>= 1.1.0), libmpfr6 (>= 3.1.3), zlib1g (>= 1:1.1.4)
Suggests: g++-9-multilib, gcc-9-doc (>= 8)
Description: GNU C++ compiler
Description-md5: 0a3fad3367cb994bd16c61b0e16a8b9c
Homepage: http://gcc.gnu.org/
Section: devel
Priority: optional
Filename: pool/main/g/gcc-9/g++-9_9.3.0-22_amd64.deb
Size: 10682328
MD5sum: 948147a23b783c2e4f3092414873f56d
SHA256: 3ff29d39c6291c13569174cfc3a90c3f81c6df76169fae6244f30530a31a1843
Source: gcc-9
Version: 9.3.0-22
Installed-Size: 29774
Maintainer: Debian GCC Maintainers
Architecture: amd64
Provides: c++-compiler, c++abi2-dev
Depends: gcc-9-base (= 9.3.0-22), gcc-9 (= 9.3.0-22), libstdc++-9-dev (= 9.3.0-22), libc6 (>= 2.14), libgmp10 (>= 2:5.0.1~), libisl23 (>= 0.15), libmpc3 (>= 1.1.0), libmpfr6 (>= 3.1.3), zlib1g (>= 1:1.1.4)
Suggests: g++-9-multilib, gcc-9-doc (>= 8)
Description: GNU C++ compiler
Description-md5: 0a3fad3367cb994bd16c61b0e16a8b9c
Homepage: http://gcc.gnu.org/
Section: devel
Priority: optional
Filename: pool/main/g/gcc-9/g++-9_9.3.0-22_amd64.deb
Size: 10682328
MD5sum: 948147a23b783c2e4f3092414873f56d
SHA256: 3ff29d39c6291c13569174cfc3a90c3f81c6df76169fae6244f30530a31a1843