How to Install and Uninstall g++-for-host Package on Ubuntu 24.04 LTS (Noble Numbat)

Last updated: May 20,2024

1. Install "g++-for-host" package

Here is a brief guide to show you how to install g++-for-host on Ubuntu 24.04 LTS (Noble Numbat)

$ sudo apt update $ sudo apt install g++-for-host

2. Uninstall "g++-for-host" package

Please follow the steps below to uninstall g++-for-host on Ubuntu 24.04 LTS (Noble Numbat):

$ sudo apt remove g++-for-host $ sudo apt autoclean && sudo apt autoremove

3. Information about the g++-for-host package on Ubuntu 24.04 LTS (Noble Numbat)

Package: g++-for-host
Architecture: amd64
Version: 4:13.2.0-7ubuntu1
Multi-Arch: same
Priority: optional
Section: devel
Source: gcc-defaults (1.214ubuntu1)
Origin: Ubuntu
Maintainer: Ubuntu Developers
Original-Maintainer: Debian GCC Maintainers
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Installed-Size: 6
Depends: g++-x86-64-linux-gnu (= 4:13.2.0-7ubuntu1), cpp-x86-64-linux-gnu (= 4:13.2.0-7ubuntu1), gcc-for-host (= 4:13.2.0-7ubuntu1), g++-13-for-host (>= 13.2.0-11~)
Filename: pool/main/g/gcc-defaults/g++-for-host_13.2.0-7ubuntu1_amd64.deb
Size: 904
MD5sum: e77dce0bf9704ddca48ce8a65d983eed
SHA1: c06726b38c61fe63121bdfff6b81fc1d53e9075a
SHA256: a76c21e61f2a75b881769233e3a2a6a69d3af36ddc0502b668f7d100f4f4b848
SHA512: a10200f49dde145981543fd55c7852e76daf3bd812cae89bced493fd7e64fb15885add69af33c46633fdcd9f730172c813fa51dbf09087e2997900da8dc0ba6b
Description: GNU C++ compiler for the host architecture
Description-md5: f4c7213fce958bcc161b257dc91e7587