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

Last updated: November 23,2024

1. Install "g++-11" package

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

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

2. Uninstall "g++-11" package

This guide let you learn how to uninstall g++-11 on Ubuntu 21.10 (Impish Indri):

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

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

Package: g++-11
Architecture: amd64
Version: 11.2.0-7ubuntu2
Priority: optional
Section: devel
Source: gcc-11
Origin: Ubuntu
Maintainer: Ubuntu Core developers
Original-Maintainer: Debian GCC Maintainers
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Installed-Size: 153526
Provides: c++-compiler, c++abi2-dev
Depends: gcc-11-base (= 11.2.0-7ubuntu2), gcc-11 (= 11.2.0-7ubuntu2), libstdc++-11-dev (= 11.2.0-7ubuntu2), 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++-11-multilib, gcc-11-doc (>= 11)
Filename: pool/main/g/gcc-11/g++-11_11.2.0-7ubuntu2_amd64.deb
Size: 55240656
MD5sum: b9767adc6bb8354bc4547f091f6cc668
SHA1: b7ead8c764d443c9ea6eed0dce3d0f6694b96290
SHA256: df125ac9735b0592a6d7882909ddb4ab5707ebbe21ee31a0da383b674528a9db
SHA512: 51a9327b3a28bceec50c127f11643cc231720aabcad949b05cbaf4cbfc8a4c5f6e293a4eec7db633187af8deb16f0a8845227fa8773f4ce7ab9212f2c39f574b
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
Task: ubuntustudio-video, ubuntu-mate-core, ubuntu-mate-desktop
Build-Essential: yes