How to Install and Uninstall g++ Package on Debian 10 (Buster)
Last updated: January 11,2025
1. Install "g++" package
Please follow the guidelines below to install g++ on Debian 10 (Buster)
$
sudo apt update
Copied
$
sudo apt install
g++
Copied
2. Uninstall "g++" package
Please follow the guidelines below to uninstall g++ on Debian 10 (Buster):
$
sudo apt remove
g++
Copied
$
sudo apt autoclean && sudo apt autoremove
Copied
3. Information about the g++ package on Debian 10 (Buster)
Package: g++
Source: gcc-defaults (1.181)
Version: 4:8.3.0-1
Installed-Size: 15
Maintainer: Debian GCC Maintainers
Architecture: amd64
Provides: c++-compiler, g++-x86-64-linux-gnu (= 4:8.3.0-1)
Depends: cpp (= 4:8.3.0-1), gcc (= 4:8.3.0-1), g++-8 (>= 8.3.0-1~), gcc-8 (>= 8.3.0-1~)
Suggests: g++-multilib
Description: GNU C++ compiler
Description-md5: 4d44b18774ae5123b7c3f70d940cf655
Build-Essential: yes
Tag: devel::compiler, devel::lang:c, devel::lang:c++, devel::library,
implemented-in::c, interface::commandline, role::devel-lib,
role::dummy, role::metapackage, role::program, suite::gnu,
works-with::software:source
Section: devel
Priority: optional
Filename: pool/main/g/gcc-defaults/g++_8.3.0-1_amd64.deb
Size: 1644
MD5sum: 26a5281af613b8578bcec1568fa60504
SHA256: ae756853eff06749370f37f717339098d7ead8eb40d8eca9050c4dd8d64be33a
Source: gcc-defaults (1.181)
Version: 4:8.3.0-1
Installed-Size: 15
Maintainer: Debian GCC Maintainers
Architecture: amd64
Provides: c++-compiler, g++-x86-64-linux-gnu (= 4:8.3.0-1)
Depends: cpp (= 4:8.3.0-1), gcc (= 4:8.3.0-1), g++-8 (>= 8.3.0-1~), gcc-8 (>= 8.3.0-1~)
Suggests: g++-multilib
Description: GNU C++ compiler
Description-md5: 4d44b18774ae5123b7c3f70d940cf655
Build-Essential: yes
Tag: devel::compiler, devel::lang:c, devel::lang:c++, devel::library,
implemented-in::c, interface::commandline, role::devel-lib,
role::dummy, role::metapackage, role::program, suite::gnu,
works-with::software:source
Section: devel
Priority: optional
Filename: pool/main/g/gcc-defaults/g++_8.3.0-1_amd64.deb
Size: 1644
MD5sum: 26a5281af613b8578bcec1568fa60504
SHA256: ae756853eff06749370f37f717339098d7ead8eb40d8eca9050c4dd8d64be33a