How to Install and Uninstall gccgo-9 Package on Ubuntu 21.04 (Hirsute Hippo)

Last updated: May 11,2024

1. Install "gccgo-9" package

This guide let you learn how to install gccgo-9 on Ubuntu 21.04 (Hirsute Hippo)

$ sudo apt update $ sudo apt install gccgo-9

2. Uninstall "gccgo-9" package

Here is a brief guide to show you how to uninstall gccgo-9 on Ubuntu 21.04 (Hirsute Hippo):

$ sudo apt remove gccgo-9 $ sudo apt autoclean && sudo apt autoremove

3. Information about the gccgo-9 package on Ubuntu 21.04 (Hirsute Hippo)

Package: gccgo-9
Architecture: amd64
Version: 9.3.0-23ubuntu2
Priority: optional
Section: universe/devel
Source: gcc-9
Origin: Ubuntu
Maintainer: Ubuntu Core developers
Original-Maintainer: Debian GCC Maintainers
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Installed-Size: 37357
Provides: go-compiler
Depends: gcc-9-base (= 9.3.0-23ubuntu2), gcc-9 (= 9.3.0-23ubuntu2), libgo-9-dev (>= 9.3.0-23ubuntu2), libc6-dev (>= 2.13-0ubuntu6), libc6 (>= 2.33), libgmp10 (>= 2:5.0.1~), libgo14, libisl23 (>= 0.15), libmpc3 (>= 1.1.0), libmpfr6 (>= 3.1.3), zlib1g (>= 1:1.1.4)
Suggests: gccgo-9-doc
Conflicts: golang-go (<< 2:1.3.3-1ubuntu2)
Filename: pool/universe/g/gcc-9/gccgo-9_9.3.0-23ubuntu2_amd64.deb
Size: 9765796
MD5sum: 551d3ecd0c524e201b5799524e95653a
SHA1: 2413367b868353df7a52273142b436c633b9acfa
SHA256: dc711a037a52cc6689f78feab38416b978aa7f4c80e6f26c9cd7d11b13aebd92
SHA512: 133111b0b6cace327d0ae16e895942363ae64e6d3bda92eb2f6c559abdc0e84bc2b49fb0f9b5cc3e82dc8ee0952893fa25e550eeff837f9716f24e0ca41c2235
Homepage: http://gcc.gnu.org/
Description-en: GNU Go compiler
This is the GNU Go compiler, which compiles Go on platforms supported
by the gcc compiler. It uses the gcc backend to generate optimized code.
Description-md5: 58c2a4ce4d3fe6815f7a6ee86b4db16d