How to Install and Uninstall g++-10 Package on Ubuntu 21.10 (Impish Indri)

Last updated: May 09,2024

1. Install "g++-10" package

This guide covers the steps necessary to install g++-10 on Ubuntu 21.10 (Impish Indri)

$ 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 21.10 (Impish Indri):

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

3. Information about the g++-10 package on Ubuntu 21.10 (Impish Indri)

Package: g++-10
Architecture: amd64
Version: 10.3.0-11ubuntu1
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: 28153
Provides: c++-compiler, c++abi2-dev
Depends: gcc-10-base (= 10.3.0-11ubuntu1), gcc-10 (= 10.3.0-11ubuntu1), libstdc++-10-dev (= 10.3.0-11ubuntu1), libc6 (>= 2.34), libgmp10 (>= 2:5.0.1~), 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-11ubuntu1_amd64.deb
Size: 10582296
MD5sum: e4dd5cf9d1a00e51d51cb7b66f1a57a4
SHA1: ccd4d83d76efb3da231c70cc6a01e40099f99e02
SHA256: 08cf9a1756e5b98c5a8c2601461c5f10725f07c050a9c709d4b8b53be8a87a88
SHA512: fd48c826250285a859bcfd8227f9e31bc20b8782ccd1cd2b284e4c80180bea6b0529730c32c684649f32f2860363f8135d295d87b16c41a91e264cac2da3c021
Homepage: http://gcc.gnu.org/
Description-en: GNU C++ compiler
This is the GNU C++ compiler, a fairly portable optimizing compiler for C++.
Description-md5: 0a3fad3367cb994bd16c61b0e16a8b9c