How to Install and Uninstall g++-11-x86-64-linux-gnu Package on Ubuntu 22.04 LTS (Jammy Jellyfish)

Last updated: May 18,2024

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

Please follow the instructions below to install g++-11-x86-64-linux-gnu on Ubuntu 22.04 LTS (Jammy Jellyfish)

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

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

Please follow the instructions below to uninstall g++-11-x86-64-linux-gnu on Ubuntu 22.04 LTS (Jammy Jellyfish):

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

3. Information about the g++-11-x86-64-linux-gnu package on Ubuntu 22.04 LTS (Jammy Jellyfish)

Package: g++-11-x86-64-linux-gnu
Architecture: i386
Version: 11.2.0-5ubuntu1cross1
Built-Using: gcc-11 (= 11.2.0-5ubuntu1)
Multi-Arch: foreign
Priority: optional
Section: universe/devel
Source: gcc-11-cross (6ubuntu2)
Origin: Ubuntu
Maintainer: Ubuntu Core developers
Original-Maintainer: Debian GCC Maintainers
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Installed-Size: 163045
Provides: c++-compiler-x86-64-linux-gnu
Depends: gcc-11-x86-64-linux-gnu-base (= 11.2.0-5ubuntu1cross1), gcc-11-x86-64-linux-gnu (= 11.2.0-5ubuntu1cross1), libstdc++-11-dev-amd64-cross (>= 11), 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.2.3.3)
Suggests: g++-11-multilib-x86-64-linux-gnu, gcc-11-doc (>= 11)
Filename: pool/universe/g/gcc-11-cross/g++-11-x86-64-linux-gnu_11.2.0-5ubuntu1cross1_i386.deb
Size: 59282980
MD5sum: e4da4dcc1d160cb8368cfa96a904d9fa
SHA1: 6d9f4e7f464ee2aacdb3ec69137b22e673bac5e5
SHA256: e8fd97025e970d680917b205370e6ca468b51c919958fce2de0d213f9044db24
SHA512: 18d82c594105dd04fa0d56aaf68614d64a4e27f182d2b3d8b4cd84b9836445ecb7cd7d56eefa1190eb7e4e9918a44cf0dc7b2779dd0b5a2be2abc7df75a0fe65
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