How to Install and Uninstall gcc-snapshot Package on Ubuntu 21.04 (Hirsute Hippo)

Last updated: May 10,2024

1. Install "gcc-snapshot" package

Please follow the guidance below to install gcc-snapshot on Ubuntu 21.04 (Hirsute Hippo)

$ sudo apt update $ sudo apt install gcc-snapshot

2. Uninstall "gcc-snapshot" package

This guide covers the steps necessary to uninstall gcc-snapshot on Ubuntu 21.04 (Hirsute Hippo):

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

3. Information about the gcc-snapshot package on Ubuntu 21.04 (Hirsute Hippo)

Package: gcc-snapshot
Architecture: amd64
Version: 1:20210225-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: 2981044
Provides: c++-compiler, c++abi2-dev
Depends: binutils (>= 2.36.1), libc6-dev-i386 (>= 2.13-0ubuntu6), libc6-dev-x32 (>= 2.13-0ubuntu6), libc6-dev (>= 2.13-0ubuntu6), python3, nvptx-tools, amdgcn-tools, lib32z1 (>= 1:1.2.0), libc6 (>= 2.33), libc6-i386 (>= 2.33), libc6-x32 (>= 2.33), libgc1 (>= 1:7.2d), libgmp10 (>= 2:5.0.1~), libisl23 (>= 0.15), libmpc3 (>= 1.1.0), libmpfr6 (>= 3.1.3), libx32z1 (>= 1:1.2.0), libzstd1 (>= 1.3.2), zlib1g (>= 1:1.2.0)
Suggests: binutils-gold (>= 2.36.1)
Filename: pool/universe/g/gcc-snapshot/gcc-snapshot_20210225-1ubuntu1_amd64.deb
Size: 708595120
MD5sum: d8c778357ba22215b1c0706d0810afe5
SHA1: 3c3f9e30ac6f65b7677a3b62adbf34cc007b838e
SHA256: 196b2249efe2ebe97bc01478422d6b3ca11e7b3ab0d34b9223aad3a9269219a8
SHA512: 60bf39b3fe7a8f249b14178d291fd295d2a08a288d1e748dd76399434e2a4c715e3ba86dccdb4bd4a76da49ea43e466085743f021daa77335a40a8fee5f905be
Homepage: http://gcc.gnu.org/
Description-en: SNAPSHOT of the GNU Compiler Collection
This package contains a recent development SNAPSHOT of all files
contained in the GNU Compiler Collection (GCC).
.
The source code for this package has been exported from SVN trunk.
.
DO NOT USE THIS SNAPSHOT FOR BUILDING DEBIAN PACKAGES!
.
This package will NEVER hit the testing distribution. It is used for
tracking gcc bugs submitted to the Debian BTS in recent development
versions of gcc.
Description-md5: 04205e24a49d2983b9b94e973a23f42a