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

Last updated: May 09,2024

1. Install "g++-x86-64-linux-gnu" package

This is a short guide on how to install g++-x86-64-linux-gnu on Ubuntu 24.04 LTS (Noble Numbat)

$ sudo apt update $ sudo apt install g++-x86-64-linux-gnu

2. Uninstall "g++-x86-64-linux-gnu" package

Please follow the guidelines below to uninstall g++-x86-64-linux-gnu on Ubuntu 24.04 LTS (Noble Numbat):

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

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

Package: g++-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: 11
Depends: cpp-x86-64-linux-gnu (= 4:13.2.0-7ubuntu1), gcc-x86-64-linux-gnu (= 4:13.2.0-7ubuntu1), g++-13-x86-64-linux-gnu (>= 13.2.0-11~)
Breaks: g++ (<< 4:13.2.0-3)
Replaces: g++ (<< 4:13.2.0-3)
Filename: pool/main/g/gcc-defaults/g++-x86-64-linux-gnu_13.2.0-7ubuntu1_amd64.deb
Size: 964
MD5sum: 3feff3bd101dbaed66782d86fecb82e0
SHA1: be4c451369de3b5daca3c1bfd5848e80ab25f50c
SHA256: 145b027a542db5b21f85d4f9e242f51c62c69914fc484adb3a4881ca8e2f3913
SHA512: fd72413229ee7971eebffb6b35c019c68957c1b4418b71f237fc3d547442c3d58e2c5dced0c251ffc7133d18cdcdcf9848cf64d8bb80fd5d11284adf27fcc751
Description: GNU C++ compiler for the amd64 architecture
Description-md5: 07c4d20f560a847a660e3374549f85e8
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