How to Install and Uninstall g++-10 Package on Kali Linux

Last updated: December 28,2024

1. Install "g++-10" package

This tutorial shows how to install g++-10 on Kali Linux

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

2. Uninstall "g++-10" package

This guide covers the steps necessary to uninstall g++-10 on Kali Linux:

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

3. Information about the g++-10 package on Kali Linux

Package: g++-10
Source: gcc-10
Version: 10.4.0-4
Installed-Size: 27621
Maintainer: Debian GCC Maintainers
Architecture: amd64
Provides: c++-compiler, c++abi2-dev
Depends: gcc-10-base (= 10.4.0-4), gcc-10 (= 10.4.0-4), libstdc++-10-dev (= 10.4.0-4), libc6 (>= 2.33), libgmp10 (>= 2:6.2.1+dfsg1), libisl23 (>= 0.15), libmpc3 (>= 1.1.0), libmpfr6 (>= 3.1.3), libzstd1 (>= 1.5.2), zlib1g (>= 1:1.1.4)
Suggests: g++-10-multilib, gcc-10-doc (>= 10)
Size: 9447600
SHA256: d401da3da1738446f23a3f7354d3eedf017c1520f67f98d6c562851df6c611db
SHA1: a31a2ab0f5d11fd7771d2592ca1e144e11adc809
MD5sum: 9d988b66728c703a0fb8086b62dcd58d
Description: GNU C++ compiler
This is the GNU C++ compiler, a fairly portable optimizing compiler for C++.
Description-md5: 0a3fad3367cb994bd16c61b0e16a8b9c
Homepage: http://gcc.gnu.org/
Section: devel
Priority: optional
Filename: pool/main/g/gcc-10/g++-10_10.4.0-4_amd64.deb