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

Last updated: November 26,2024

1. Install "gcc-14" package

This guide covers the steps necessary to install gcc-14 on Ubuntu 24.04 LTS (Noble Numbat)

$ sudo apt update $ sudo apt install gcc-14

2. Uninstall "gcc-14" package

Learn how to uninstall gcc-14 on Ubuntu 24.04 LTS (Noble Numbat):

$ sudo apt remove gcc-14 $ sudo apt autoclean && sudo apt autoremove

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

Package: gcc-14
Architecture: amd64
Version: 14-20240303-1ubuntu1
Priority: optional
Section: universe/devel
Origin: Ubuntu
Maintainer: Ubuntu Core developers
Original-Maintainer: Debian GCC Maintainers
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Installed-Size: 513
Provides: c-compiler
Depends: gcc-14-x86-64-linux-gnu (= 14-20240303-1ubuntu1), gcc-14-base (= 14-20240303-1ubuntu1), binutils (>= 2.42)
Recommends: libc6-dev (>= 2.13-0ubuntu6)
Suggests: gcc-14-multilib, gcc-14-doc (>= 14), gcc-14-locales (>= 14)
Replaces: cpp-14 (<< 7.1.1-8)
Filename: pool/universe/g/gcc-14/gcc-14_14-20240303-1ubuntu1_amd64.deb
Size: 453154
MD5sum: cfe489161564ea2c25c08fc24370df9d
SHA1: cbcdc35fec57056967bb903ed294b5d87ece7187
SHA256: 538bb0d23456f2ee7485e6b781bec6b16fc94e3a0a9e04b7ab397b265828747b
SHA512: 9f70cf28ffbcf44652c8ef5ad8147bb401f8aea48d74e7ea5e0f08ea57056064c8910ec7059e7bbb990341493b1593a99da007f9b071f4451a21ebe2faae8b6d
Homepage: http://gcc.gnu.org/
Description: GNU C compiler
Description-md5: 394374e688b1afb3af5f419895d29698

5. The same packages on other Linux Distributions