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

Last updated: May 11,2024

1. Install "g++-10" package

Learn how to install g++-10 on Ubuntu 24.04 LTS (Noble Numbat)

$ sudo apt update $ sudo apt install g++-10

2. Uninstall "g++-10" package

Learn how to uninstall g++-10 on Ubuntu 24.04 LTS (Noble Numbat):

$ sudo apt remove g++-10 $ sudo apt autoclean && sudo apt autoremove

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

Package: g++-10
Architecture: amd64
Version: 10.5.0-1ubuntu1
Priority: optional
Section: universe/devel
Source: gcc-10
Origin: Ubuntu
Maintainer: Ubuntu Core developers
Original-Maintainer: Debian GCC Maintainers
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Installed-Size: 28350
Provides: c++-compiler, c++abi2-dev
Depends: gcc-10-base (= 10.5.0-1ubuntu1), gcc-10 (= 10.5.0-1ubuntu1), libstdc++-10-dev (= 10.5.0-1ubuntu1), libc6 (>= 2.34), libgmp10 (>= 2:6.2.1+dfsg1), libisl23 (>= 0.15), libmpc3 (>= 1.1.0), libmpfr6 (>= 3.1.3), libzstd1 (>= 1.5.5), zlib1g (>= 1:1.1.4)
Suggests: g++-10-multilib, gcc-10-doc (>= 10)
Filename: pool/universe/g/gcc-10/g++-10_10.5.0-1ubuntu1_amd64.deb
Size: 10569296
MD5sum: 2936c56ce691add1b2f883996079c73f
SHA1: 88b93e7a43e643487780f3d9a0caa9c2101fbd06
SHA256: f39275dee068bd185957739415e70f84a4353e39c5b2fe22d3f00da73c7de808
SHA512: 952fab46c1aabbc968f7a1aab04739ad8e246d65652f911045444222e9474fb61834e7f6b44e4bd034abd260ab60d63b6342bedd22e88f2022da80b5a5dde2b5
Homepage: http://gcc.gnu.org/
Description: GNU C++ compiler
Description-md5: 0a3fad3367cb994bd16c61b0e16a8b9c