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

Last updated: December 25,2024

1. Install "g++-7" package

Here is a brief guide to show you how to install g++-7 on Debian 10 (Buster)

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

2. Uninstall "g++-7" package

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

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

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

Package: g++-7
Source: gcc-7
Version: 7.4.0-6
Installed-Size: 25771
Maintainer: Debian GCC Maintainers
Architecture: amd64
Provides: c++-compiler, c++abi2-dev
Depends: gcc-7-base (= 7.4.0-6), gcc-7 (= 7.4.0-6), libstdc++-7-dev (= 7.4.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++-7-multilib, gcc-7-doc (>= 7), libstdc++6-7-dbg (>= 7.4.0-6)
Description: GNU C++ compiler
Description-md5: 0a3fad3367cb994bd16c61b0e16a8b9c
Homepage: http://gcc.gnu.org/
Section: devel
Priority: optional
Filename: pool/main/g/gcc-7/g++-7_7.4.0-6_amd64.deb
Size: 9407072
MD5sum: 9deb60770f95d67e97486c5ad5ee3190
SHA256: 0186018f33cb70a0983dd00095b9dd445dc7a6c9524e579632fb6d741e4228c3