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

Last updated: May 21,2024

1. Install "golang-1.16" package

This is a short guide on how to install golang-1.16 on Ubuntu 20.04 LTS (Focal Fossa)

$ sudo apt update $ sudo apt install golang-1.16

2. Uninstall "golang-1.16" package

This tutorial shows how to uninstall golang-1.16 on Ubuntu 20.04 LTS (Focal Fossa):

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

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

Package: golang-1.16
Architecture: all
Version: 1.16.2-0ubuntu1~20.04.1
Priority: optional
Section: universe/devel
Origin: Ubuntu
Maintainer: Ubuntu Developers
Original-Maintainer: Go Compiler Team
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Installed-Size: 58
Depends: golang-1.16-doc (>= 1.16.2-0ubuntu1~20.04.1), golang-1.16-go (>= 1.16.2-0ubuntu1~20.04.1), golang-1.16-src (>= 1.16.2-0ubuntu1~20.04.1)
Filename: pool/universe/g/golang-1.16/golang-1.16_1.16.2-0ubuntu1~20.04.1_all.deb
Size: 11260
MD5sum: 9a5acc45c8089d05ff13b4f526dfa309
SHA1: d4976c8dcd1e412dd0b96d8e12c0b5f94058ec0f
SHA256: defa85b16e6ef2e2e5437fc3891c3a91a095b00bfc5819c46fdeeecd109d21ae
SHA512: 5eb108a19ab8312ea03726b5e8e4749cb1ae3fd0745a16cfd42bced335f4209e3db63c8d359e986465c4138a7187dbbb144db602051a481c9530982501620005
Homepage: https://golang.org
Description: Go programming language compiler - metapackage
Description-md5: 8650a23f44e2d60a785ad3123733d6d8