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

Last updated: May 18,2024

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

This guide covers the steps necessary to install g++-x86-64-linux-gnu on Ubuntu 20.04 LTS (Focal Fossa)

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

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

In this section, we are going to explain the necessary steps to uninstall g++-x86-64-linux-gnu on Ubuntu 20.04 LTS (Focal Fossa):

$ 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 20.04 LTS (Focal Fossa)

Package: g++-x86-64-linux-gnu
Architecture: i386
Version: 4:9.3.0-1ubuntu2
Multi-Arch: foreign
Priority: optional
Section: universe/devel
Source: gcc-defaults (1.185.1ubuntu2)
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:9.3.0-1ubuntu2), gcc-x86-64-linux-gnu (= 4:9.3.0-1ubuntu2), g++-9-x86-64-linux-gnu (>= 9.3.0-3~)
Filename: pool/universe/g/gcc-defaults/g++-x86-64-linux-gnu_9.3.0-1ubuntu2_i386.deb
Size: 1124
MD5sum: d30e55e8b8b99ee06fed24398dbfda53
SHA1: 56c012f5b343575275dff28051a7be49f66fe86b
SHA256: 9377ccad08c68ddadee5517f8b9c729ce2d9bb33fb188bb9edcfee02c389a5b6
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