How to Install and Uninstall g++-10 Package on Ubuntu 20.10 (Groovy Gorilla)

Last updated: November 24,2024

1. Install "g++-10" package

This guide covers the steps necessary to install g++-10 on Ubuntu 20.10 (Groovy Gorilla)

$ sudo apt update $ sudo apt install g++-10

2. Uninstall "g++-10" package

This is a short guide on how to uninstall g++-10 on Ubuntu 20.10 (Groovy Gorilla):

$ sudo apt remove g++-10 $ sudo apt autoclean && sudo apt autoremove

3. Information about the g++-10 package on Ubuntu 20.10 (Groovy Gorilla)

Package: g++-10
Architecture: amd64
Version: 10.2.0-13ubuntu1
Priority: optional
Section: devel
Source: gcc-10
Origin: Ubuntu
Maintainer: Ubuntu Core developers
Original-Maintainer: Debian GCC Maintainers
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Installed-Size: 30408
Provides: c++-compiler, c++abi2-dev
Depends: gcc-10-base (= 10.2.0-13ubuntu1), gcc-10 (= 10.2.0-13ubuntu1), libstdc++-10-dev (= 10.2.0-13ubuntu1), libc6 (>= 2.14), libgmp10 (>= 2:5.0.1~), libisl22 (>= 0.15), libmpc3 (>= 1.1.0), libmpfr6 (>= 3.1.3), libzstd1 (>= 1.3.2), zlib1g (>= 1:1.1.4)
Suggests: g++-10-multilib, gcc-10-doc (>= 10)
Filename: pool/main/g/gcc-10/g++-10_10.2.0-13ubuntu1_amd64.deb
Size: 9061108
MD5sum: 7f08d78d4fa51ad4c22e60b7912a63c3
SHA1: cc15e4096249abaaf593b116b672feb0efed3760
SHA256: b4db53c57a10db609f8fd81e8d829cc3632a20a4213d867037c6476a6681534a
SHA512: cb7ffd0d9bc1b49792f871fb6bc4a70cbcf14aa417a40d65c43fffdc26f85a3c8a2cf83d46631076c5925abf68df84b7b00ba4675e749e39b08d65315c886a4c
Homepage: http://gcc.gnu.org/
Description-en: GNU C++ compiler
This is the GNU C++ compiler, a fairly portable optimizing compiler for C++.
Description-md5: 0a3fad3367cb994bd16c61b0e16a8b9c
Task: ubuntu-mate-core, ubuntu-mate-desktop
Build-Essential: yes