How to Install and Uninstall g++-6 Package on Ubuntu 18.04 LTS (Bionic Beaver)
Last updated: November 25,2024
1. Install "g++-6" package
In this section, we are going to explain the necessary steps to install g++-6 on Ubuntu 18.04 LTS (Bionic Beaver)
$
sudo apt update
Copied
$
sudo apt install
g++-6
Copied
2. Uninstall "g++-6" package
Please follow the steps below to uninstall g++-6 on Ubuntu 18.04 LTS (Bionic Beaver):
$
sudo apt remove
g++-6
Copied
$
sudo apt autoclean && sudo apt autoremove
Copied
3. Information about the g++-6 package on Ubuntu 18.04 LTS (Bionic Beaver)
Package: g++-6
Architecture: amd64
Version: 6.5.0-2ubuntu1~18.04
Priority: optional
Section: universe/devel
Source: gcc-6
Origin: Ubuntu
Maintainer: Ubuntu Core developers
Original-Maintainer: Debian GCC Maintainers
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Installed-Size: 23352
Provides: c++-compiler, c++abi2-dev
Depends: gcc-6-base (= 6.5.0-2ubuntu1~18.04), gcc-6 (= 6.5.0-2ubuntu1~18.04), libstdc++-6-dev (= 6.5.0-2ubuntu1~18.04), libc6 (>= 2.14), libgmp10 (>= 2:5.0.1~), libisl19 (>= 0.15), libmpc3, libmpfr6 (>= 3.1.3), zlib1g (>= 1:1.1.4)
Suggests: g++-6-multilib, gcc-6-doc (>= 6.3.0-1), libstdc++6-6-dbg (>= 6.5.0-2ubuntu1~18.04)
Filename: pool/universe/g/gcc-6/g++-6_6.5.0-2ubuntu1~18.04_amd64.deb
Size: 7212620
MD5sum: 5794121c6c91a39c77edd32cfbe26500
SHA1: 461537d7d7afb9badbeade6a7569df67d76d7fde
SHA256: 3a754388242b1735db4ea8dca8aeea9cfde61586364348c8441ffa35a2d9c562
SHA512: 0e529fa6c6cf659c381a8d510f249c561d7531e49cda78745b16e7d37e9cc59fb7b70f8588c5926e67eec7c605eb7502110b936d72b91dc2d471d28f298cfcaf
Homepage: http://gcc.gnu.org/
Description: GNU C++ compiler
Description-md5: 0a3fad3367cb994bd16c61b0e16a8b9c
Package: g++-6
Architecture: amd64
Version: 6.4.0-17ubuntu1
Priority: optional
Section: universe/devel
Source: gcc-6
Origin: Ubuntu
Maintainer: Ubuntu Core developers
Original-Maintainer: Debian GCC Maintainers
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Installed-Size: 23330
Provides: c++-compiler, c++abi2-dev
Depends: gcc-6-base (= 6.4.0-17ubuntu1), gcc-6 (= 6.4.0-17ubuntu1), libstdc++-6-dev (= 6.4.0-17ubuntu1), libc6 (>= 2.14), libgmp10 (>= 2:5.0.1~), libisl19 (>= 0.15), libmpc3, libmpfr6 (>= 3.1.3), zlib1g (>= 1:1.1.4)
Suggests: g++-6-multilib, gcc-6-doc (>= 6.3.0-1), libstdc++6-6-dbg (>= 6.4.0-17ubuntu1)
Filename: pool/universe/g/gcc-6/g++-6_6.4.0-17ubuntu1_amd64.deb
Size: 7203200
MD5sum: 0be1e285c2f07d6fc25dd5dfe5a5bfed
SHA1: 4733d0e746a5a301292f52d157e8f3427bf84b41
SHA256: ad758a9f35cc150574d55215a7d8c124004da3aaab6dc8becce336af96ad27a2
Homepage: http://gcc.gnu.org/
Description: GNU C++ compiler
Description-md5: 0a3fad3367cb994bd16c61b0e16a8b9c
Architecture: amd64
Version: 6.5.0-2ubuntu1~18.04
Priority: optional
Section: universe/devel
Source: gcc-6
Origin: Ubuntu
Maintainer: Ubuntu Core developers
Original-Maintainer: Debian GCC Maintainers
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Installed-Size: 23352
Provides: c++-compiler, c++abi2-dev
Depends: gcc-6-base (= 6.5.0-2ubuntu1~18.04), gcc-6 (= 6.5.0-2ubuntu1~18.04), libstdc++-6-dev (= 6.5.0-2ubuntu1~18.04), libc6 (>= 2.14), libgmp10 (>= 2:5.0.1~), libisl19 (>= 0.15), libmpc3, libmpfr6 (>= 3.1.3), zlib1g (>= 1:1.1.4)
Suggests: g++-6-multilib, gcc-6-doc (>= 6.3.0-1), libstdc++6-6-dbg (>= 6.5.0-2ubuntu1~18.04)
Filename: pool/universe/g/gcc-6/g++-6_6.5.0-2ubuntu1~18.04_amd64.deb
Size: 7212620
MD5sum: 5794121c6c91a39c77edd32cfbe26500
SHA1: 461537d7d7afb9badbeade6a7569df67d76d7fde
SHA256: 3a754388242b1735db4ea8dca8aeea9cfde61586364348c8441ffa35a2d9c562
SHA512: 0e529fa6c6cf659c381a8d510f249c561d7531e49cda78745b16e7d37e9cc59fb7b70f8588c5926e67eec7c605eb7502110b936d72b91dc2d471d28f298cfcaf
Homepage: http://gcc.gnu.org/
Description: GNU C++ compiler
Description-md5: 0a3fad3367cb994bd16c61b0e16a8b9c
Package: g++-6
Architecture: amd64
Version: 6.4.0-17ubuntu1
Priority: optional
Section: universe/devel
Source: gcc-6
Origin: Ubuntu
Maintainer: Ubuntu Core developers
Original-Maintainer: Debian GCC Maintainers
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Installed-Size: 23330
Provides: c++-compiler, c++abi2-dev
Depends: gcc-6-base (= 6.4.0-17ubuntu1), gcc-6 (= 6.4.0-17ubuntu1), libstdc++-6-dev (= 6.4.0-17ubuntu1), libc6 (>= 2.14), libgmp10 (>= 2:5.0.1~), libisl19 (>= 0.15), libmpc3, libmpfr6 (>= 3.1.3), zlib1g (>= 1:1.1.4)
Suggests: g++-6-multilib, gcc-6-doc (>= 6.3.0-1), libstdc++6-6-dbg (>= 6.4.0-17ubuntu1)
Filename: pool/universe/g/gcc-6/g++-6_6.4.0-17ubuntu1_amd64.deb
Size: 7203200
MD5sum: 0be1e285c2f07d6fc25dd5dfe5a5bfed
SHA1: 4733d0e746a5a301292f52d157e8f3427bf84b41
SHA256: ad758a9f35cc150574d55215a7d8c124004da3aaab6dc8becce336af96ad27a2
Homepage: http://gcc.gnu.org/
Description: GNU C++ compiler
Description-md5: 0a3fad3367cb994bd16c61b0e16a8b9c