How to Install and Uninstall gcc-12 Package on Kali Linux

Last updated: November 07,2024

1. Install "gcc-12" package

Please follow the instructions below to install gcc-12 on Kali Linux

$ sudo apt update $ sudo apt install gcc-12

2. Uninstall "gcc-12" package

This is a short guide on how to uninstall gcc-12 on Kali Linux:

$ sudo apt remove gcc-12 $ sudo apt autoclean && sudo apt autoremove

3. Information about the gcc-12 package on Kali Linux

Package: gcc-12
Version: 12.3.0-14
Installed-Size: 69119
Maintainer: Debian GCC Maintainers
Architecture: amd64
Replaces: cpp-12 (<< 7.1.1-8)
Provides: c-compiler
Depends: cpp-12 (= 12.3.0-14), gcc-12-base (= 12.3.0-14), libcc1-0 (>= 12.3.0-14), binutils (>= 2.41.90.20240115), libgcc-12-dev (= 12.3.0-14), libc6 (>= 2.36), libgcc-s1 (>= 3.0), libgmp10 (>= 2:6.3.0+dfsg), libisl23 (>= 0.15), libmpc3 (>= 1.1.0), libmpfr6 (>= 3.1.3), libstdc++6 (>= 5), libzstd1 (>= 1.5.5), zlib1g (>= 1:1.1.4)
Recommends: libc6-dev (>= 2.23-1~)
Suggests: gcc-12-multilib, gcc-12-doc (>= 12), gcc-12-locales (>= 12)
Size: 19537908
SHA256: 7203474851705584ef0db6020928992f6a10174cb906204964d3689cffe5e42e
SHA1: 90c9fec6dce57ec9aadce13298f55f6134a44001
MD5sum: 6b0839460f552ef6450757c2dea3f448
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/gcc-12_12.3.0-14_amd64.deb