How to Install and Uninstall golang-go Package on Ubuntu 21.04 (Hirsute Hippo)

Last updated: December 24,2024

1. Install "golang-go" package

Please follow the steps below to install golang-go on Ubuntu 21.04 (Hirsute Hippo)

$ sudo apt update $ sudo apt install golang-go

2. Uninstall "golang-go" package

In this section, we are going to explain the necessary steps to uninstall golang-go on Ubuntu 21.04 (Hirsute Hippo):

$ sudo apt remove golang-go $ sudo apt autoclean && sudo apt autoremove

3. Information about the golang-go package on Ubuntu 21.04 (Hirsute Hippo)

Package: golang-go
Architecture: amd64
Version: 2:1.16~0ubuntu1
Priority: optional
Section: devel
Source: golang-defaults
Origin: Ubuntu
Maintainer: Ubuntu Developers
Original-Maintainer: Go Compiler Team
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Installed-Size: 51
Depends: golang-1.16-go, golang-src (>= 2:1.16~0ubuntu1)
Suggests: git
Conflicts: gccgo-go
Breaks: gccgo-5 (<< 5.3.1-12~), gccgo-6 (<< 6-20160319-1~), golang-doc (<< 2:1.6.1+1~), golang-go-darwin-386, golang-go-darwin-amd64, golang-go-freebsd-386, golang-go-freebsd-amd64, golang-go-freebsd-arm, golang-go-linux-386, golang-go-linux-amd64, golang-go-linux-arm, golang-go-netbsd-386, golang-go-netbsd-amd64, golang-go-windows-386, golang-go-windows-amd64, golang-go.tools (<< 1:0.0~git20151026.0.0f9d71c-1~), golang-golang-x-tools (<< 1:0.0~git20151026.0.0f9d71c-1~)
Replaces: golang-doc (<< 2:1.6.1+1~), golang-go-darwin-386, golang-go-darwin-amd64, golang-go-freebsd-386, golang-go-freebsd-amd64, golang-go-freebsd-arm, golang-go-linux-386, golang-go-linux-amd64, golang-go-linux-arm, golang-go-netbsd-386, golang-go-netbsd-amd64, golang-go-windows-386, golang-go-windows-amd64, golang-go.tools (<< 1:0.0~git20151026.0.0f9d71c-1~), golang-golang-x-tools (<< 1:0.0~git20151026.0.0f9d71c-1~)
Filename: pool/main/g/golang-defaults/golang-go_1.16~0ubuntu1_amd64.deb
Size: 22012
MD5sum: 0035ceaa907f61ad08ac7e17bd557cea
SHA1: 31ef4c5b1c8b218699f65838a20d1413bd53de1f
SHA256: ffc07406c47ceaa5a6674720208efff09d122afa43f6cf0671cf21a3a225ed6b
SHA512: f8689ef9178671689f003f8890c9a4e78c54136635339fd57df670d3dbd5173932366bbc9c711bce63d5acda0214269190333b0cb4c054a67bdf88db29dafda8
Homepage: https://golang.org
Description-en: Go programming language compiler, linker, compiled stdlib
The Go programming language is an open source project to make programmers more
productive. Go is expressive, concise, clean, and efficient. Its concurrency
mechanisms make it easy to write programs that get the most out of multicore
and networked machines, while its novel type system enables flexible and
modular program construction. Go compiles quickly to machine code yet has the
convenience of garbage collection and the power of run-time reflection. It's a
fast, statically typed, compiled language that feels like a dynamically typed,
interpreted language.
.
This is a dependency package that depends on the default Go toolchain and
compiled standard library. It is only built on architectures that have a
native toolchain ("gc compiler"). Packages that want to build with whichever
of gc or gccgo is available should depend on golang-any.
Description-md5: 4b644c1329d03644c1e0137da5dcdaf3