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

Last updated: November 23,2024

1. Install "golang-1.20" package

Please follow the guidelines below to install golang-1.20 on Ubuntu 20.04 LTS (Focal Fossa)

$ sudo apt update $ sudo apt install golang-1.20

2. Uninstall "golang-1.20" package

Here is a brief guide to show you how to uninstall golang-1.20 on Ubuntu 20.04 LTS (Focal Fossa):

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

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

Package: golang-1.20
Architecture: all
Version: 1.20.3-1ubuntu0.1~20.04.1
Priority: optional
Section: universe/golang
Origin: Ubuntu
Maintainer: Ubuntu Developers
Original-Maintainer: Debian Go Compiler Team
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Installed-Size: 43
Depends: golang-1.20-doc (>= 1.20.3-1ubuntu0.1~20.04.1), golang-1.20-go (>= 1.20.3-1ubuntu0.1~20.04.1), golang-1.20-src (>= 1.20.3-1ubuntu0.1~20.04.1)
Filename: pool/universe/g/golang-1.20/golang-1.20_1.20.3-1ubuntu0.1~20.04.1_all.deb
Size: 5792
MD5sum: a1f3cf254e2141b49d766303a93fc033
SHA1: c96156e3be3c134b81dc357ead473e69f17965ca
SHA256: ea2238b0d0b12c2506438d3d41c9c6a78a44693efc7347a39b36678ed4c7c21c
SHA512: 436c3f03ccd15fda98b82da095cabf77f1e1f4d1e51e12c7950b4915a73d015145236bb3d2b2011a598edb50c8920544044a6b5d51d8d9c37f98582819ebebfa
Homepage: https://go.dev/
Description: Go programming language compiler - metapackage
Description-md5: 2d5ed303bd0c0e8134e6116f171852b6