How to Install and Uninstall gcc-for-build Package on Kali Linux

Last updated: February 28,2025

1. Install "gcc-for-build" package

This is a short guide on how to install gcc-for-build on Kali Linux

$ sudo apt update $ sudo apt install gcc-for-build

2. Uninstall "gcc-for-build" package

This guide let you learn how to uninstall gcc-for-build on Kali Linux:

$ sudo apt remove gcc-for-build $ sudo apt autoclean && sudo apt autoremove

3. Information about the gcc-for-build package on Kali Linux

Package: gcc-for-build
Source: gcc-defaults (1.214)
Version: 4:13.2.0-7
Installed-Size: 12
Maintainer: Debian GCC Maintainers
Architecture: all
Depends: gcc (= 4:13.2.0-7), cpp-for-build (= 4:13.2.0-7), gcc-13-for-build (>= 13.2.0-11~)
Size: 4388
SHA256: 08d30785d7605ddbd0988ab6ae93dc550eb27d097d35b07776a548a2733bfd0c
SHA1: 55d2e9b128b72d0d2da1e815087830073de4e58a
MD5sum: 1ed7b9d19c5dee44f87edaf1d36c993c
Description: GNU C compiler for the build architecture
This is the GNU C compiler, a fairly portable optimizing compiler for C.
.
This is a dependency package providing the default GNU C compiler.
.
When using gcc via this metapackage, all tools must be used without an
architecture prefix.
Description-md5:
Multi-Arch: foreign
Section: devel
Priority: optional
Filename: pool/main/g/gcc-defaults/gcc-for-build_13.2.0-7_all.deb

5. The same packages on other Linux Distributions