How to Install and Uninstall g++-10 Package on Ubuntu 22.04 LTS (Jammy Jellyfish)

Last updated: May 17,2024

1. Install "g++-10" package

Learn how to install g++-10 on Ubuntu 22.04 LTS (Jammy Jellyfish)

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

2. Uninstall "g++-10" package

This guide covers the steps necessary to uninstall g++-10 on Ubuntu 22.04 LTS (Jammy Jellyfish):

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

3. Information about the g++-10 package on Ubuntu 22.04 LTS (Jammy Jellyfish)

Package: g++-10
Architecture: amd64
Version: 10.5.0-1ubuntu1~22.04
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: 28354
Provides: c++-compiler, c++abi2-dev
Depends: gcc-10-base (= 10.5.0-1ubuntu1~22.04), gcc-10 (= 10.5.0-1ubuntu1~22.04), libstdc++-10-dev (= 10.5.0-1ubuntu1~22.04), libc6 (>= 2.34), libgmp10 (>= 2:6.2.1+dfsg), libisl23 (>= 0.15), libmpc3 (>= 1.1.0), libmpfr6 (>= 3.1.3), libzstd1 (>= 1.4.0), 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~22.04_amd64.deb
Size: 10654052
MD5sum: bd3cc7574cc2f776675526121a56504c
SHA1: 471c0248e251b58559e86c15677737079472bb76
SHA256: 5db97604f57fa8b1f047b576b2f609b74f1ff5db234ef03d99383e5aeb1a17a2
SHA512: de2dec5ffec8a19aa39b169b702598890438c3aac6e0ec19f0dd061843d46202a0f0e10b6dcb57eea9073572d8b9a8fda8fe4181fa2a657524b4e4e02fd8e326
Homepage: http://gcc.gnu.org/
Description: GNU C++ compiler
Description-md5: 0a3fad3367cb994bd16c61b0e16a8b9c

Package: g++-10
Architecture: amd64
Version: 10.3.0-15ubuntu1
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: 28162
Provides: c++-compiler, c++abi2-dev
Depends: gcc-10-base (= 10.3.0-15ubuntu1), gcc-10 (= 10.3.0-15ubuntu1), libstdc++-10-dev (= 10.3.0-15ubuntu1), libc6 (>= 2.34), libgmp10 (>= 2:6.2.1+dfsg), libisl23 (>= 0.15), libmpc3 (>= 1.1.0), libmpfr6 (>= 3.1.3), libzstd1 (>= 1.4.0), zlib1g (>= 1:1.1.4)
Suggests: g++-10-multilib, gcc-10-doc (>= 10)
Filename: pool/universe/g/gcc-10/g++-10_10.3.0-15ubuntu1_amd64.deb
Size: 10589364
MD5sum: 068ea4a6c139fd1f84fcc031e77ce9cc
SHA1: 77290e7743bee8a25e6e1f891b0948bbb246f2d2
SHA256: d3e47c8ccb3b430d276efc13037dd2eade2a670da8e71a97ad4e798230ee1188
SHA512: ba567989ab76419aa853d04bf73eb59399a9070a2cc46e32a2bb6448172a2dd90d7664487c710333e0749a19259e6d35ef0bae05a69ad3e5cbf230b73176b49e
Homepage: http://gcc.gnu.org/
Description: GNU C++ compiler
Description-md5: 0a3fad3367cb994bd16c61b0e16a8b9c