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

Last updated: November 26,2024

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

This tutorial shows how to install g++-x86-64-linux-gnu on Ubuntu 22.04 LTS (Jammy Jellyfish)

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

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

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

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

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

Package: g++-x86-64-linux-gnu
Architecture: i386
Version: 4:11.2.0-1ubuntu1
Multi-Arch: foreign
Priority: optional
Section: universe/devel
Source: gcc-defaults (1.193ubuntu1)
Origin: Ubuntu
Maintainer: Ubuntu Developers
Original-Maintainer: Debian GCC Maintainers
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Installed-Size: 11
Depends: cpp-x86-64-linux-gnu (= 4:11.2.0-1ubuntu1), gcc-x86-64-linux-gnu (= 4:11.2.0-1ubuntu1), g++-11-x86-64-linux-gnu (>= 11.2.0-1~)
Filename: pool/universe/g/gcc-defaults/g++-x86-64-linux-gnu_11.2.0-1ubuntu1_i386.deb
Size: 944
MD5sum: 400b8989d2138eee78d93577d6bce268
SHA1: 1a9212264a70a3328c3b3141adf69c71bca33830
SHA256: 50d261623651f46235c19d98796f1890bb6adb82ee53f40036e92b2bdb02b9b1
SHA512: 715f7c89662186f96a27c0d1629ba97e66733bd5db88823c2ee98cab64cf52841c6254c31f581181ddf975b58c86007c94f49750c7747f4c399c55508b33c371
Description-en: GNU C++ compiler for the amd64 architecture
This is the GNU C++ compiler, a fairly portable optimizing compiler for C++.
.
This is a dependency package providing the default GNU C++ cross-compiler
for the amd64 architecture.
Description-md5: 07c4d20f560a847a660e3374549f85e8