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

Last updated: November 22,2024

1. Install "gcc-for-host" package

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

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

2. Uninstall "gcc-for-host" package

Learn how to uninstall gcc-for-host on Kali Linux:

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

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

Package: gcc-for-host
Source: gcc-defaults (1.214)
Version: 4:13.2.0-7
Installed-Size: 6
Maintainer: Debian GCC Maintainers
Architecture: amd64
Depends: gcc-x86-64-linux-gnu (= 4:13.2.0-7), cpp-x86-64-linux-gnu (= 4:13.2.0-7), cpp-for-host (= 4:13.2.0-7), gcc-13-for-host (>= 13.2.0-11~)
Recommends: libc6-dev | libc-dev
Size: 1076
SHA256: 17335284720ae69df3881cdba95d6692d88002017bccdab090b768f3eb49d28e
SHA1: b794a1bab3c25ee4f322845552cf9e9d3628c540
MD5sum: 347ab3521c3b98b2b21f88b4611e39bb
Description: GNU C compiler for the host 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 with an
architecture prefix.
Description-md5:
Multi-Arch: same
Section: devel
Priority: optional
Filename: pool/main/g/gcc-defaults/gcc-for-host_13.2.0-7_amd64.deb

5. The same packages on other Linux Distributions