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

Last updated: May 20,2024

1. Install "gccgo" package

Learn how to install gccgo on Ubuntu 21.04 (Hirsute Hippo)

$ sudo apt update $ sudo apt install gccgo

2. Uninstall "gccgo" package

Please follow the guidance below to uninstall gccgo on Ubuntu 21.04 (Hirsute Hippo):

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

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

Package: gccgo
Architecture: amd64
Version: 4:10.3.0-1ubuntu1
Priority: optional
Section: universe/devel
Source: gcc-defaults (1.190ubuntu1)
Origin: Ubuntu
Maintainer: Ubuntu Developers
Original-Maintainer: Debian GCC Maintainers
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Installed-Size: 13
Provides: go-compiler
Depends: cpp (>= 4:10.3.0-1ubuntu1), gcc (>= 4:10.3.0-1ubuntu1), gccgo-10 (>= 10.3.0-1~)
Suggests: gccgo-multilib
Filename: pool/universe/g/gcc-defaults/gccgo_10.3.0-1ubuntu1_amd64.deb
Size: 1164
MD5sum: b9055cf91e7a722909022c423fff2be1
SHA1: 621875d42b2ec9e2d3b279a52d36d8cce5a91f20
SHA256: 132944769ddb333cd1d3655d1beac13f77eacf7e217e9143c77dc4b0e235728d
SHA512: 02dd4ecf69fd6e15ea6fc2007dfc6702c1a2ccd185265efb840f7836b7a45f2861c594ab371337e4f316bcf8912be6ee1ecc50c3deff8275f47480465898b71d
Description-en: Go compiler, based on the GCC backend
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.
.
This is a dependency package providing the default GNU Go compiler.
Description-md5: 9d336d49adc1ff59921be0a9229b7c40