How to Install and Uninstall g++ Package on Kali Linux
Last updated: January 11,2025
1. Install "g++" package
Please follow the step by step instructions below to install g++ on Kali Linux
$
sudo apt update
Copied
$
sudo apt install
g++
Copied
2. Uninstall "g++" package
Here is a brief guide to show you how to uninstall g++ on Kali Linux:
$
sudo apt remove
g++
Copied
$
sudo apt autoclean && sudo apt autoremove
Copied
3. Information about the g++ package on Kali Linux
Package: g++
Source: gcc-defaults (1.214)
Version: 4:13.2.0-7
Installed-Size: 13
Maintainer: Debian GCC Maintainers
Architecture: amd64
Provides: c++-compiler
Depends: cpp (= 4:13.2.0-7), cpp-x86-64-linux-gnu (= 4:13.2.0-7), gcc (= 4:13.2.0-7), g++-13 (>= 13.2.0-11~), g++-x86-64-linux-gnu (= 4:13.2.0-7), gcc-13 (>= 13.2.0-11~)
Suggests: g++-multilib
Size: 1348
SHA256: 002bce3ed5665d373d3ebd85fec4d0472bb0d4819df7f0fd14c58e96df8c3472
SHA1: d5999d9ea4d90e31c7064df099890fc58b63b7b1
MD5sum: 3fa29e07b324ff6c4abdaee1d5e2c700
Description: GNU C++ compiler
This is the GNU C++ compiler, a fairly portable optimizing compiler for C++.
.
This is a dependency package providing the default GNU C++ compiler.
Description-md5:
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++_13.2.0-7_amd64.deb
Source: gcc-defaults (1.214)
Version: 4:13.2.0-7
Installed-Size: 13
Maintainer: Debian GCC Maintainers
Architecture: amd64
Provides: c++-compiler
Depends: cpp (= 4:13.2.0-7), cpp-x86-64-linux-gnu (= 4:13.2.0-7), gcc (= 4:13.2.0-7), g++-13 (>= 13.2.0-11~), g++-x86-64-linux-gnu (= 4:13.2.0-7), gcc-13 (>= 13.2.0-11~)
Suggests: g++-multilib
Size: 1348
SHA256: 002bce3ed5665d373d3ebd85fec4d0472bb0d4819df7f0fd14c58e96df8c3472
SHA1: d5999d9ea4d90e31c7064df099890fc58b63b7b1
MD5sum: 3fa29e07b324ff6c4abdaee1d5e2c700
Description: GNU C++ compiler
This is the GNU C++ compiler, a fairly portable optimizing compiler for C++.
.
This is a dependency package providing the default GNU C++ compiler.
Description-md5:
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++_13.2.0-7_amd64.deb