How to Install and Uninstall golang Package on Ubuntu 21.04 (Hirsute Hippo)
Last updated: November 23,2024
1. Install "golang" package
Please follow the steps below to install golang on Ubuntu 21.04 (Hirsute Hippo)
$
sudo apt update
Copied
$
sudo apt install
golang
Copied
2. Uninstall "golang" package
Please follow the guidance below to uninstall golang on Ubuntu 21.04 (Hirsute Hippo):
$
sudo apt remove
golang
Copied
$
sudo apt autoclean && sudo apt autoremove
Copied
3. Information about the golang package on Ubuntu 21.04 (Hirsute Hippo)
Package: golang
Architecture: amd64
Version: 2:1.16~0ubuntu1
Multi-Arch: same
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: 11
Depends: golang-1.16, golang-doc (>= 2:1.16~0ubuntu1), golang-go (>= 2:1.16~0ubuntu1), golang-src (>= 2:1.16~0ubuntu1)
Filename: pool/main/g/golang-defaults/golang_1.16~0ubuntu1_amd64.deb
Size: 2916
MD5sum: e287cb022e9df4c2e887af6538ed4c9c
SHA1: 016ff758f749ec635f6b4098fc5840ab23980580
SHA256: dddec30366dfa25d3f57d9b5276473bc0f8c44a58581091532e64f379d755413
SHA512: 0152e230130a18f75dda00d971edf9d8355b9f41f79e296adf3fd80126eed8cf3c200a93397fa3356a26984f2f142fa25fc9d3d9a1639d91a85542851cee40ca
Homepage: https://golang.org
Description-en: Go programming language compiler - metapackage
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 package is a metapackage that, when installed, guarantees
that (most of) a full Go development environment is installed.
Description-md5: 8650a23f44e2d60a785ad3123733d6d8
Architecture: amd64
Version: 2:1.16~0ubuntu1
Multi-Arch: same
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: 11
Depends: golang-1.16, golang-doc (>= 2:1.16~0ubuntu1), golang-go (>= 2:1.16~0ubuntu1), golang-src (>= 2:1.16~0ubuntu1)
Filename: pool/main/g/golang-defaults/golang_1.16~0ubuntu1_amd64.deb
Size: 2916
MD5sum: e287cb022e9df4c2e887af6538ed4c9c
SHA1: 016ff758f749ec635f6b4098fc5840ab23980580
SHA256: dddec30366dfa25d3f57d9b5276473bc0f8c44a58581091532e64f379d755413
SHA512: 0152e230130a18f75dda00d971edf9d8355b9f41f79e296adf3fd80126eed8cf3c200a93397fa3356a26984f2f142fa25fc9d3d9a1639d91a85542851cee40ca
Homepage: https://golang.org
Description-en: Go programming language compiler - metapackage
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 package is a metapackage that, when installed, guarantees
that (most of) a full Go development environment is installed.
Description-md5: 8650a23f44e2d60a785ad3123733d6d8