How to Install and Uninstall gcc-snapshot Package on Ubuntu 18.04 LTS (Bionic Beaver)

Last updated: May 20,2024

1. Install "gcc-snapshot" package

This is a short guide on how to install gcc-snapshot on Ubuntu 18.04 LTS (Bionic Beaver)

$ sudo apt update $ sudo apt install gcc-snapshot

2. Uninstall "gcc-snapshot" package

Please follow the guidance below to uninstall gcc-snapshot on Ubuntu 18.04 LTS (Bionic Beaver):

$ sudo apt remove gcc-snapshot $ sudo apt autoclean && sudo apt autoremove

3. Information about the gcc-snapshot package on Ubuntu 18.04 LTS (Bionic Beaver)

Package: gcc-snapshot
Architecture: amd64
Version: 1:20180425-1ubuntu1
Priority: extra
Section: universe/devel
Origin: Ubuntu
Maintainer: Ubuntu Core developers
Original-Maintainer: Debian GCC Maintainers
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Installed-Size: 827956
Provides: c++-compiler, c++abi2-dev
Depends: binutils (>= 2.30), libc6-dev-i386 (>= 2.11), libc6-dev-x32 (>= 2.11), libc6-dev (>= 2.13-0ubuntu6), lib32z1 (>= 1:1.1.4), libc6 (>= 2.27), libc6-i386 (>= 2.27), libc6-x32 (>= 2.27), libgc1c2 (>= 1:7.2d), libgmp10 (>= 2:5.0.1~), libisl19 (>= 0.15), libmpc3, libmpfr6 (>= 3.1.3), libx32z1 (>= 1:1.1.4), zlib1g (>= 1:1.1.4), python
Suggests: binutils-gold (>= 2.30)
Filename: pool/universe/g/gcc-snapshot/gcc-snapshot_20180425-1ubuntu1_amd64.deb
Size: 167377512
MD5sum: 229ec7d454c8d1ec176f784f7c048adf
SHA1: b4d5d85035d2dd4c19ad1389cb9c3857fd66c8bd
SHA256: aeb57140087e605e25409b529b063024701d6a455ef6a47930f847ac90dda485
Homepage: http://gcc.gnu.org/
Description: SNAPSHOT of the GNU Compiler Collection
Description-md5: 04205e24a49d2983b9b94e973a23f42a