How to Install and Uninstall g++-12 Package on Kali Linux
Last updated: December 28,2024
1. Install "g++-12" package
Please follow the guidelines below to install g++-12 on Kali Linux
$
sudo apt update
Copied
$
sudo apt install
g++-12
Copied
2. Uninstall "g++-12" package
This guide let you learn how to uninstall g++-12 on Kali Linux:
$
sudo apt remove
g++-12
Copied
$
sudo apt autoclean && sudo apt autoremove
Copied
3. Information about the g++-12 package on Kali Linux
Package: g++-12
Source: gcc-12
Version: 12.3.0-14
Installed-Size: 36596
Maintainer: Debian GCC Maintainers
Architecture: amd64
Provides: c++-compiler, c++abi2-dev
Depends: gcc-12-base (= 12.3.0-14), gcc-12 (= 12.3.0-14), libstdc++-12-dev (= 12.3.0-14), libc6 (>= 2.36), libgmp10 (>= 2:6.3.0+dfsg), libisl23 (>= 0.15), libmpc3 (>= 1.1.0), libmpfr6 (>= 3.1.3), libzstd1 (>= 1.5.5), zlib1g (>= 1:1.1.4)
Suggests: g++-12-multilib, gcc-12-doc (>= 12)
Size: 10797428
SHA256: 84feaa063fd3190f5b14fa0e2d27f3f49921426d940af58fda12122cd2ef91d2
SHA1: d2f8107ad7d3d16539ec0c4a7a93cf7e879c8b73
MD5sum: 2376e2476138aadd06e53bd305a0044f
Description: GNU C++ compiler
This is the GNU C++ compiler, a fairly portable optimizing compiler for C++.
Description-md5:
Homepage: http://gcc.gnu.org/
Section: devel
Priority: optional
Filename: pool/main/g/gcc-12/g++-12_12.3.0-14_amd64.deb
Source: gcc-12
Version: 12.3.0-14
Installed-Size: 36596
Maintainer: Debian GCC Maintainers
Architecture: amd64
Provides: c++-compiler, c++abi2-dev
Depends: gcc-12-base (= 12.3.0-14), gcc-12 (= 12.3.0-14), libstdc++-12-dev (= 12.3.0-14), libc6 (>= 2.36), libgmp10 (>= 2:6.3.0+dfsg), libisl23 (>= 0.15), libmpc3 (>= 1.1.0), libmpfr6 (>= 3.1.3), libzstd1 (>= 1.5.5), zlib1g (>= 1:1.1.4)
Suggests: g++-12-multilib, gcc-12-doc (>= 12)
Size: 10797428
SHA256: 84feaa063fd3190f5b14fa0e2d27f3f49921426d940af58fda12122cd2ef91d2
SHA1: d2f8107ad7d3d16539ec0c4a7a93cf7e879c8b73
MD5sum: 2376e2476138aadd06e53bd305a0044f
Description: GNU C++ compiler
This is the GNU C++ compiler, a fairly portable optimizing compiler for C++.
Description-md5:
Homepage: http://gcc.gnu.org/
Section: devel
Priority: optional
Filename: pool/main/g/gcc-12/g++-12_12.3.0-14_amd64.deb