How to Install and Uninstall g++-7 Package on Ubuntu 20.04 LTS (Focal Fossa)
Last updated: November 26,2024
1. Install "g++-7" package
This is a short guide on how to install g++-7 on Ubuntu 20.04 LTS (Focal Fossa)
$
sudo apt update
Copied
$
sudo apt install
g++-7
Copied
2. Uninstall "g++-7" package
This is a short guide on how to uninstall g++-7 on Ubuntu 20.04 LTS (Focal Fossa):
$
sudo apt remove
g++-7
Copied
$
sudo apt autoclean && sudo apt autoremove
Copied
3. Information about the g++-7 package on Ubuntu 20.04 LTS (Focal Fossa)
Package: g++-7
Architecture: amd64
Version: 7.5.0-6ubuntu2
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: 26066
Provides: c++-compiler, c++abi2-dev
Depends: gcc-7-base (= 7.5.0-6ubuntu2), gcc-7 (= 7.5.0-6ubuntu2), libstdc++-7-dev (= 7.5.0-6ubuntu2), 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-6ubuntu2_amd64.deb
Size: 9688884
MD5sum: 23da200a98a95c1ab1fe6bb5c974adc5
SHA1: 95bdef534ee93d47484e51f061ba5abf0f27a2e2
SHA256: e77ff2d5737285359a3832efc5cdfe32688e3f5ec274eebf7586d97be23b6126
Homepage: http://gcc.gnu.org/
Description: GNU C++ compiler
Description-md5: 0a3fad3367cb994bd16c61b0e16a8b9c
Architecture: amd64
Version: 7.5.0-6ubuntu2
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: 26066
Provides: c++-compiler, c++abi2-dev
Depends: gcc-7-base (= 7.5.0-6ubuntu2), gcc-7 (= 7.5.0-6ubuntu2), libstdc++-7-dev (= 7.5.0-6ubuntu2), 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-6ubuntu2_amd64.deb
Size: 9688884
MD5sum: 23da200a98a95c1ab1fe6bb5c974adc5
SHA1: 95bdef534ee93d47484e51f061ba5abf0f27a2e2
SHA256: e77ff2d5737285359a3832efc5cdfe32688e3f5ec274eebf7586d97be23b6126
Homepage: http://gcc.gnu.org/
Description: GNU C++ compiler
Description-md5: 0a3fad3367cb994bd16c61b0e16a8b9c