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

Last updated: November 15,2024

1. Install "golang-1.18" package

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

$ sudo apt update $ sudo apt install golang-1.18

2. Uninstall "golang-1.18" package

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

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

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

Package: golang-1.18
Architecture: all
Version: 1.18.1-1ubuntu1~20.04.2
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: 59
Depends: golang-1.18-doc (>= 1.18.1-1ubuntu1~20.04.2), golang-1.18-go (>= 1.18.1-1ubuntu1~20.04.2), golang-1.18-src (>= 1.18.1-1ubuntu1~20.04.2)
Filename: pool/universe/g/golang-1.18/golang-1.18_1.18.1-1ubuntu1~20.04.2_all.deb
Size: 11124
MD5sum: 5581d6a9e7f44d64d76c5d644af622a0
SHA1: 10d987615561bcbf54fd653cf259455cec87c762
SHA256: ea6e823e7b24517e0edc3c3c78aaedc38eb325acdbe07333e2d733a3b9927a28
SHA512: 22fc09c1408f01e59c081f5cb6941f1975975c1fa6ed5debfedf076dc7eafdbe666865f46c94e61121a89094b5ec634da17f90f4fb222978b0a1716fe37ba30f
Homepage: https://golang.org
Description: Go programming language compiler - metapackage
Description-md5: 9cf65eae35075e419830b9eee734720c