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

Last updated: November 01,2024

1. Install "g++-7" package

In this section, we are going to explain the necessary steps to install g++-7 on Ubuntu 20.10 (Groovy Gorilla)

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

2. Uninstall "g++-7" package

Please follow the steps below to uninstall g++-7 on Ubuntu 20.10 (Groovy Gorilla):

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

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

Package: g++-7
Architecture: amd64
Version: 7.5.0-6ubuntu3
Priority: optional
Section: universe/devel
Source: gcc-7
Origin: Ubuntu
Maintainer: Ubuntu Core developers
Original-Maintainer: Debian GCC Maintainers
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Installed-Size: 26134
Provides: c++-compiler, c++abi2-dev
Depends: gcc-7-base (= 7.5.0-6ubuntu3), gcc-7 (= 7.5.0-6ubuntu3), libstdc++-7-dev (= 7.5.0-6ubuntu3), libc6 (>= 2.14), libgmp10 (>= 2:5.0.1~), libisl22 (>= 0.15), libmpc3, libmpfr6 (>= 3.1.3), zlib1g (>= 1:1.1.4)
Suggests: g++-7-multilib, gcc-7-doc (>= 7)
Filename: pool/universe/g/gcc-7/g++-7_7.5.0-6ubuntu3_amd64.deb
Size: 9722644
MD5sum: 2c8bf1c47a29b0ea77ab73a665277bcf
SHA1: 02e7ee461354b64d87481a76b5cbc1b65c0e0d42
SHA256: 345fcb991e04209eea68a4ef9b7b24b27ebb0735e2e595ef80fd475a9d9cb227
SHA512: 8a2e6176e6e53fd35cb3ca3b636f003f150eb5e855af3c6d8d22b990a371c49442ac5ddf7b19bbf7ec307ec1e7f9f91d02eb509118b32cc79f1d07036fd54574
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