How to Install and Uninstall g++-9-x86-64-linux-gnu Package on Ubuntu 20.04 LTS (Focal Fossa)

Last updated: September 20,2024

1. Install "g++-9-x86-64-linux-gnu" package

Please follow the instructions below to install g++-9-x86-64-linux-gnu on Ubuntu 20.04 LTS (Focal Fossa)

$ sudo apt update $ sudo apt install g++-9-x86-64-linux-gnu

2. Uninstall "g++-9-x86-64-linux-gnu" package

This tutorial shows how to uninstall g++-9-x86-64-linux-gnu on Ubuntu 20.04 LTS (Focal Fossa):

$ sudo apt remove g++-9-x86-64-linux-gnu $ sudo apt autoclean && sudo apt autoremove

3. Information about the g++-9-x86-64-linux-gnu package on Ubuntu 20.04 LTS (Focal Fossa)

Package: g++-9-x86-64-linux-gnu
Architecture: i386
Version: 9.4.0-1ubuntu1~20.04.1cross2
Built-Using: gcc-9 (= 9.4.0-1ubuntu1~20.04.1)
Multi-Arch: foreign
Priority: optional
Section: universe/devel
Source: gcc-9-cross (21ubuntu6)
Origin: Ubuntu
Maintainer: Ubuntu Core developers
Original-Maintainer: Debian GCC Maintainers
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Installed-Size: 28939
Provides: c++-compiler-x86-64-linux-gnu
Depends: gcc-9-x86-64-linux-gnu-base (= 9.4.0-1ubuntu1~20.04.1cross2), gcc-9-x86-64-linux-gnu (= 9.4.0-1ubuntu1~20.04.1cross2), libstdc++-9-dev-amd64-cross (>= 8), libc6 (>= 2.28), libgmp10 (>= 2:5.0.1~), libisl22 (>= 0.15), libmpc3, libmpfr6 (>= 3.1.3), zlib1g (>= 1:1.2.3.3)
Suggests: g++-9-multilib-x86-64-linux-gnu, gcc-9-doc (>= 8)
Filename: pool/universe/g/gcc-9-cross/g++-9-x86-64-linux-gnu_9.4.0-1ubuntu1~20.04.1cross2_i386.deb
Size: 8786264
MD5sum: 4be2b232865a28d3882421bf603a1c7b
SHA1: dde0f3cf912b8cbe6f510eb44562c8b7d945be6e
SHA256: 4f76e826e901493c31ce79456d5ed2c26ea40d183ce419335b11b13f6e5767d3
SHA512: 3a9e1fee4e10fdd2592e6fc9318b9a38431d4be1d333bbf5efe69547a4ca42534321523d8208df29ecadc9b6f8bda6169adb4323683b7450ac52c7787ead597c
Homepage: http://gcc.gnu.org/
Description-en: GNU C++ compiler (cross compiler for amd64 architecture)
This is the GNU C++ compiler, a fairly portable optimizing compiler for C++.
.
This package contains C++ cross-compiler for amd64 architecture.
Description-md5: 95c638db836528fc4cf4840ca84746fc

Package: g++-9-x86-64-linux-gnu
Architecture: i386
Version: 9.3.0-10ubuntu1cross2
Built-Using: gcc-9 (= 9.3.0-10ubuntu1)
Multi-Arch: foreign
Priority: optional
Section: universe/devel
Source: gcc-9-cross (21ubuntu3)
Origin: Ubuntu
Maintainer: Ubuntu Core developers
Original-Maintainer: Debian GCC Maintainers
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Installed-Size: 28903
Provides: c++-compiler-x86-64-linux-gnu
Depends: gcc-9-x86-64-linux-gnu-base (= 9.3.0-10ubuntu1cross2), gcc-9-x86-64-linux-gnu (= 9.3.0-10ubuntu1cross2), libstdc++-9-dev-amd64-cross (>= 8), libc6 (>= 2.28), libgmp10 (>= 2:5.0.1~), libisl22 (>= 0.15), libmpc3, libmpfr6 (>= 3.1.3), zlib1g (>= 1:1.2.3.3)
Suggests: g++-9-multilib-x86-64-linux-gnu, gcc-9-doc (>= 8)
Filename: pool/universe/g/gcc-9-cross/g++-9-x86-64-linux-gnu_9.3.0-10ubuntu1cross2_i386.deb
Size: 8767788
MD5sum: 1efa5a8f26a727834bdc17f52c7a080b
SHA1: b47136ee0eda6feb0ad9f27f4b7624a222c0054a
SHA256: 57872155acde70b804280af2f453f2288e61a7121a919afe1ec78d3804e63498
Homepage: http://gcc.gnu.org/
Description-en: GNU C++ compiler (cross compiler for amd64 architecture)
This is the GNU C++ compiler, a fairly portable optimizing compiler for C++.
.
This package contains C++ cross-compiler for amd64 architecture.
Description-md5: 95c638db836528fc4cf4840ca84746fc