How to Install and Uninstall g++-9 Package on Ubuntu 20.10 (Groovy Gorilla)

Last updated: November 23,2024

1. Install "g++-9" package

This guide let you learn how to install g++-9 on Ubuntu 20.10 (Groovy Gorilla)

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

2. Uninstall "g++-9" package

This tutorial shows how to uninstall g++-9 on Ubuntu 20.10 (Groovy Gorilla):

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

3. Information about the g++-9 package on Ubuntu 20.10 (Groovy Gorilla)

Package: g++-9
Architecture: amd64
Version: 9.3.0-18ubuntu1
Priority: optional
Section: universe/devel
Source: gcc-9
Origin: Ubuntu
Maintainer: Ubuntu Core developers
Original-Maintainer: Debian GCC Maintainers
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Installed-Size: 27989
Provides: c++-compiler, c++abi2-dev
Depends: gcc-9-base (= 9.3.0-18ubuntu1), gcc-9 (= 9.3.0-18ubuntu1), libstdc++-9-dev (= 9.3.0-18ubuntu1), libc6 (>= 2.14), libgmp10 (>= 2:5.0.1~), libisl22 (>= 0.15), libmpc3 (>= 1.1.0), libmpfr6 (>= 3.1.3), zlib1g (>= 1:1.1.4)
Suggests: g++-9-multilib, gcc-9-doc (>= 8)
Filename: pool/universe/g/gcc-9/g++-9_9.3.0-18ubuntu1_amd64.deb
Size: 8406688
MD5sum: 10ab35c63295a8fcdcba6147edb4e910
SHA1: a4ddb324efe62f9db8fbb7e34c17eb22346e476d
SHA256: af3b836fe790561cf85bea99251c8fa3291c33c983dd40e0004c37137405b79c
SHA512: e3a3877d03b90cd0ef5d83726a89aab4c2a7319520ce9fda26047c9e1625c0e28d0f77c793fbec8fa113bd71ebc5a3ed8be4ce24b8ed8959589f0349d733941a
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