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

Last updated: May 09,2024

1. Install "g++-11" package

This guide covers the steps necessary to install g++-11 on Kali Linux

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

2. Uninstall "g++-11" package

Please follow the step by step instructions below to uninstall g++-11 on Kali Linux:

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

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

Package: g++-11
Source: gcc-11
Version: 11.4.0-7
Installed-Size: 28288
Maintainer: Debian GCC Maintainers
Architecture: amd64
Provides: c++-compiler, c++abi2-dev
Depends: gcc-11-base (= 11.4.0-7), gcc-11 (= 11.4.0-7), libstdc++-11-dev (= 11.4.0-7), libc6 (>= 2.34), 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++-11-multilib, gcc-11-doc (>= 11)
Size: 10190456
SHA256: 54aaa3c861ec4239fe4538b1733d6e821c0cf87824d1a66dc0a5483ccc413291
SHA1: 9151b96fa28b24fa8ee12a09282d981b0bfcb0fe
MD5sum: 7fa9da9343aef781595a3997f574172d
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-11/g++-11_11.4.0-7_amd64.deb