How to Install and Uninstall gcc-for-build Package on Ubuntu 24.04 LTS (Noble Numbat)

Last updated: November 26,2024

1. Install "gcc-for-build" package

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

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

2. Uninstall "gcc-for-build" package

Please follow the guidelines below to uninstall gcc-for-build on Ubuntu 24.04 LTS (Noble Numbat):

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

3. Information about the gcc-for-build package on Ubuntu 24.04 LTS (Noble Numbat)

Package: gcc-for-build
Architecture: all
Version: 4:13.2.0-7ubuntu1
Multi-Arch: foreign
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: 12
Depends: gcc (= 4:13.2.0-7ubuntu1), cpp-for-build (= 4:13.2.0-7ubuntu1), gcc-13-for-build (>= 13.2.0-11~)
Filename: pool/main/g/gcc-defaults/gcc-for-build_13.2.0-7ubuntu1_all.deb
Size: 2144
MD5sum: a4b85969aff3c07d3c83db22e2055f2f
SHA1: 070b7ec76b1276d5fc751d7574438e079ae805ae
SHA256: 650388b0ababd48fd3bde6b86c27f2a9248526d9ef00c17d1ceb83d0e83a16ad
SHA512: 0fa6bcc288ff9fa33bf64d361a6d47b8a344261286dd27720c271c4659871529861a24a67bbd3e57df492a5d2d958642fb490d208db58058722b51b23c5bbb8a
Description: GNU C compiler for the build architecture
Description-md5: 9e985ea4aad7ea6fdc71fd640661b733

5. The same packages on other Linux Distributions