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

Last updated: May 16,2024

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

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

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

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

Here is a brief guide to show you how to uninstall g++-10-x86-64-linux-gnu on Ubuntu 20.04 LTS (Focal Fossa):

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

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

Package: g++-10-x86-64-linux-gnu
Architecture: i386
Version: 10.3.0-1ubuntu1~20.04cross1
Built-Using: gcc-10 (= 10.3.0-1ubuntu1~20.04)
Multi-Arch: foreign
Priority: optional
Section: universe/devel
Source: gcc-10-cross (6ubuntu4)
Origin: Ubuntu
Maintainer: Ubuntu Core developers
Original-Maintainer: Debian GCC Maintainers
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Installed-Size: 31676
Provides: c++-compiler-x86-64-linux-gnu
Depends: gcc-10-x86-64-linux-gnu-base (= 10.3.0-1ubuntu1~20.04cross1), gcc-10-x86-64-linux-gnu (= 10.3.0-1ubuntu1~20.04cross1), libstdc++-10-dev-amd64-cross (>= 10), libc6 (>= 2.28), libgmp10 (>= 2:5.0.1~), libisl22 (>= 0.15), libmpc3, libmpfr6 (>= 3.1.3), zlib1g (>= 1:1.2.3.3)
Suggests: g++-10-multilib-x86-64-linux-gnu, gcc-10-doc (>= 10)
Filename: pool/universe/g/gcc-10-cross/g++-10-x86-64-linux-gnu_10.3.0-1ubuntu1~20.04cross1_i386.deb
Size: 9517904
MD5sum: d43515161dca7718262198e2f00e0af4
SHA1: 4aed34aaaad144dceedb26cc43bb40e20784e73f
SHA256: c6600345128f8c66c0bb10b228c4b0090b9ea7f39b702415b757890439c27820
SHA512: da49e2bc7d8c93eda2fd7f3ef9a9499acfba253eca56b80fcedcc089ec265f998ed4606eb5a52bb86e7370fe299a5c30670828de6596720264059f88781027a4
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++-10-x86-64-linux-gnu
Architecture: i386
Version: 10-20200411-0ubuntu1cross1
Built-Using: gcc-10 (= 10-20200411-0ubuntu1)
Multi-Arch: foreign
Priority: optional
Section: universe/devel
Source: gcc-10-cross (6ubuntu2)
Origin: Ubuntu
Maintainer: Ubuntu Core developers
Original-Maintainer: Debian GCC Maintainers
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Installed-Size: 31496
Provides: c++-compiler-x86-64-linux-gnu
Depends: gcc-10-x86-64-linux-gnu-base (= 10-20200411-0ubuntu1cross1), gcc-10-x86-64-linux-gnu (= 10-20200411-0ubuntu1cross1), libstdc++-10-dev-amd64-cross (>= 10), libc6 (>= 2.28), libgmp10 (>= 2:5.0.1~), libisl22 (>= 0.15), libmpc3, libmpfr6 (>= 3.1.3), zlib1g (>= 1:1.2.3.3)
Suggests: g++-10-multilib-x86-64-linux-gnu, gcc-10-doc (>= 10)
Filename: pool/universe/g/gcc-10-cross/g++-10-x86-64-linux-gnu_10-20200411-0ubuntu1cross1_i386.deb
Size: 9451928
MD5sum: 9cc9dbfac21c0824472178703677adfa
SHA1: e7464f5ba3c68d064c60a9879e93dd1ef5d7158b
SHA256: 997c768369dce6c10373146adcaeedaa325f106993de7e963c44c422d828df7b
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