How to Install and Uninstall gcc-x86-64-linux-gnu Package on Ubuntu 24.04 LTS (Noble Numbat)

Last updated: May 09,2024

1. Install "gcc-x86-64-linux-gnu" package

Please follow the steps below to install gcc-x86-64-linux-gnu on Ubuntu 24.04 LTS (Noble Numbat)

$ sudo apt update $ sudo apt install gcc-x86-64-linux-gnu

2. Uninstall "gcc-x86-64-linux-gnu" package

This guide covers the steps necessary to uninstall gcc-x86-64-linux-gnu on Ubuntu 24.04 LTS (Noble Numbat):

$ sudo apt remove gcc-x86-64-linux-gnu $ sudo apt autoclean && sudo apt autoremove

3. Information about the gcc-x86-64-linux-gnu package on Ubuntu 24.04 LTS (Noble Numbat)

Package: gcc-x86-64-linux-gnu
Architecture: amd64
Version: 4:13.2.0-7ubuntu1
Multi-Arch: foreign
Priority: optional
Build-Essential: yes
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: 25
Depends: cpp-x86-64-linux-gnu (= 4:13.2.0-7ubuntu1), gcc-13-x86-64-linux-gnu (>= 13.2.0-11~)
Recommends: libc6-dev, libc-dev
Suggests: make, manpages-dev, autoconf, automake, libtool, flex, bison, gdb-x86-64-linux-gnu, gcc-doc
Breaks: gcc (<< 4:13.2.0-3)
Replaces: gcc (<< 4:13.2.0-3)
Filename: pool/main/g/gcc-defaults/gcc-x86-64-linux-gnu_13.2.0-7ubuntu1_amd64.deb
Size: 1212
MD5sum: af59c96cc615e43d008e83a3c08f7680
SHA1: 81c541135db1754e53997a93bb0164bfb0c56e95
SHA256: 72e79089a10e381360bfc6f03c5e5d8c2ff177d6dbac2cd7ffb3cc1383f57591
SHA512: 381168fe720810d1fcd7209cd1e5af232cceb7c878b0b9c651741e0f1ab9f13276acb84a4852372ba1e35eea435b154ea6bbe321bd4cc2d8bd9fb6a7579df7ba
Description: GNU C compiler for the amd64 architecture
Description-md5: 74fd7698add747ec9f3ca61030b62c40
Task: ubuntustudio-publishing, ubuntu-mate-core, ubuntu-mate-desktop, ubuntu-unity-desktop, edubuntu-desktop-gnome-minimal, edubuntu-desktop-gnome, edubuntu-desktop-gnome-raspi, ubuntucinnamon-desktop, ubuntucinnamon-desktop-minimal