How to Install and Uninstall golang-1.21-go Package on Ubuntu 20.04 LTS (Focal Fossa)

Last updated: July 07,2024

1. Install "golang-1.21-go" package

Please follow the guidance below to install golang-1.21-go on Ubuntu 20.04 LTS (Focal Fossa)

$ sudo apt update $ sudo apt install golang-1.21-go

2. Uninstall "golang-1.21-go" package

In this section, we are going to explain the necessary steps to uninstall golang-1.21-go on Ubuntu 20.04 LTS (Focal Fossa):

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

3. Information about the golang-1.21-go package on Ubuntu 20.04 LTS (Focal Fossa)

Package: golang-1.21-go
Architecture: amd64
Version: 1.21.1-1~ubuntu20.04.2
Priority: optional
Section: universe/golang
Source: golang-1.21
Origin: Ubuntu
Maintainer: Ubuntu Developers
Original-Maintainer: Debian Go Compiler Team
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Installed-Size: 95254
Depends: golang-1.21-src (>= 1.21.1-1~ubuntu20.04.2)
Recommends: g++, gcc, libc6-dev, pkg-config
Suggests: bzr | brz, ca-certificates, git, mercurial, subversion
Breaks: dh-golang (<< 1.43~)
Filename: pool/universe/g/golang-1.21/golang-1.21-go_1.21.1-1~ubuntu20.04.2_amd64.deb
Size: 23586196
MD5sum: d9d5299d0919ed31b509bde3e2792958
SHA1: f67268336ce005ca514bd9bba3767ced2e885fc7
SHA256: ffe2fc980c22b3c9a22ffa87b6a5deb9a50ea637a6d5a5c50c8523fff0cf20f9
SHA512: 266d97050ea6ff8ccd46ca5076fbee80db8d258d1d19afcd454cedb99ac9a80687f4929b31f13fadf6658404220b893201a8cf64a5524424c9bd820b1658a685
Homepage: https://go.dev/
Description: Go programming language compiler, linker, compiled stdlib
Description-md5: 455c99280165a5ec4ec9d9061b10ba52