How to Install and Uninstall g++-for-host Package on Kali Linux
Last updated: March 04,2025
1. Install "g++-for-host" package
This guide covers the steps necessary to install g++-for-host on Kali Linux
$
sudo apt update
Copied
$
sudo apt install
g++-for-host
Copied
2. Uninstall "g++-for-host" package
Please follow the guidelines below to uninstall g++-for-host on Kali Linux:
$
sudo apt remove
g++-for-host
Copied
$
sudo apt autoclean && sudo apt autoremove
Copied
3. Information about the g++-for-host package on Kali Linux
Package: g++-for-host
Source: gcc-defaults (1.214)
Version: 4:13.2.0-7
Installed-Size: 6
Maintainer: Debian GCC Maintainers
Architecture: amd64
Depends: g++-x86-64-linux-gnu (= 4:13.2.0-7), cpp-x86-64-linux-gnu (= 4:13.2.0-7), gcc-for-host (= 4:13.2.0-7), g++-13-for-host (>= 13.2.0-11~)
Size: 1064
SHA256: 7d3bebe878985f1d9af81e374d2a429ae92ecfa938958e154bf8108b7ee9e860
SHA1: 563b4cefc68dfb3f7c83ebb1056d2efe3a61e190
MD5sum: 38537821fa380de060ab6b3a1cfd8312
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 g++ 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/g++-for-host_13.2.0-7_amd64.deb
Source: gcc-defaults (1.214)
Version: 4:13.2.0-7
Installed-Size: 6
Maintainer: Debian GCC Maintainers
Architecture: amd64
Depends: g++-x86-64-linux-gnu (= 4:13.2.0-7), cpp-x86-64-linux-gnu (= 4:13.2.0-7), gcc-for-host (= 4:13.2.0-7), g++-13-for-host (>= 13.2.0-11~)
Size: 1064
SHA256: 7d3bebe878985f1d9af81e374d2a429ae92ecfa938958e154bf8108b7ee9e860
SHA1: 563b4cefc68dfb3f7c83ebb1056d2efe3a61e190
MD5sum: 38537821fa380de060ab6b3a1cfd8312
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 g++ 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/g++-for-host_13.2.0-7_amd64.deb