How to Install and Uninstall golang Package on Ubuntu 18.04 LTS (Bionic Beaver)
Last updated: November 26,2024
1. Install "golang" package
This tutorial shows how to install golang on Ubuntu 18.04 LTS (Bionic Beaver)
$
sudo apt update
Copied
$
sudo apt install
golang
Copied
2. Uninstall "golang" package
Learn how to uninstall golang on Ubuntu 18.04 LTS (Bionic Beaver):
$
sudo apt remove
golang
Copied
$
sudo apt autoclean && sudo apt autoremove
Copied
3. Information about the golang package on Ubuntu 18.04 LTS (Bionic Beaver)
Package: golang
Architecture: amd64
Version: 2:1.10~4ubuntu1
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.10, golang-doc (>= 2:1.10~4ubuntu1), golang-go (>= 2:1.10~4ubuntu1), golang-src (>= 2:1.10~4ubuntu1)
Filename: pool/main/g/golang-defaults/golang_1.10~4ubuntu1_amd64.deb
Size: 2896
MD5sum: fc06eee1d3a90f68163845a743c32009
SHA1: 561ce98439decd690ef3b29e0a6afa0a9c7c3504
SHA256: 7f7981c9c1d5f1789aac6ea07eddfef1b181aefdb0b9e73e5930e6d11005bfbc
Homepage: https://golang.org
Description: Go programming language compiler - metapackage
Description-md5: 8650a23f44e2d60a785ad3123733d6d8
Supported: 5y
Architecture: amd64
Version: 2:1.10~4ubuntu1
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.10, golang-doc (>= 2:1.10~4ubuntu1), golang-go (>= 2:1.10~4ubuntu1), golang-src (>= 2:1.10~4ubuntu1)
Filename: pool/main/g/golang-defaults/golang_1.10~4ubuntu1_amd64.deb
Size: 2896
MD5sum: fc06eee1d3a90f68163845a743c32009
SHA1: 561ce98439decd690ef3b29e0a6afa0a9c7c3504
SHA256: 7f7981c9c1d5f1789aac6ea07eddfef1b181aefdb0b9e73e5930e6d11005bfbc
Homepage: https://golang.org
Description: Go programming language compiler - metapackage
Description-md5: 8650a23f44e2d60a785ad3123733d6d8
Supported: 5y