How to Install and Uninstall golang-go Package on Ubuntu 18.04 LTS (Bionic Beaver)

Last updated: May 17,2024

1. Install "golang-go" package

In this section, we are going to explain the necessary steps to install golang-go on Ubuntu 18.04 LTS (Bionic Beaver)

$ sudo apt update $ sudo apt install golang-go

2. Uninstall "golang-go" package

In this section, we are going to explain the necessary steps to uninstall golang-go on Ubuntu 18.04 LTS (Bionic Beaver):

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

3. Information about the golang-go package on Ubuntu 18.04 LTS (Bionic Beaver)

Package: golang-go
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: 51
Depends: golang-1.10-go, golang-src (>= 2:1.10~4ubuntu1)
Recommends: golang-race-detector-runtime
Conflicts: gccgo-go
Breaks: gccgo-5 (<< 5.3.1-12~), gccgo-6 (<< 6-20160319-1~), golang-doc (<< 2:1.6.1+1~), golang-go-darwin-386, golang-go-darwin-amd64, golang-go-freebsd-386, golang-go-freebsd-amd64, golang-go-freebsd-arm, golang-go-linux-386, golang-go-linux-amd64, golang-go-linux-arm, golang-go-netbsd-386, golang-go-netbsd-amd64, golang-go-windows-386, golang-go-windows-amd64, golang-go.tools (<< 1:0.0~git20151026.0.0f9d71c-1~), golang-golang-x-tools (<< 1:0.0~git20151026.0.0f9d71c-1~)
Replaces: golang-doc (<< 2:1.6.1+1~), golang-go-darwin-386, golang-go-darwin-amd64, golang-go-freebsd-386, golang-go-freebsd-amd64, golang-go-freebsd-arm, golang-go-linux-386, golang-go-linux-amd64, golang-go-linux-arm, golang-go-netbsd-386, golang-go-netbsd-amd64, golang-go-windows-386, golang-go-windows-amd64, golang-go.tools (<< 1:0.0~git20151026.0.0f9d71c-1~), golang-golang-x-tools (<< 1:0.0~git20151026.0.0f9d71c-1~)
Filename: pool/main/g/golang-defaults/golang-go_1.10~4ubuntu1_amd64.deb
Size: 22016
MD5sum: 8394e11877d778fa00022f690a6663f9
SHA1: 4c33f44274bb9cb8e60d6afc0714e8a8cd83bc18
SHA256: 49bddd4f5447fd57ae723a3722f6b0423284ab8144e8b758e28aee502ab9676f
Homepage: https://golang.org
Description: Go programming language compiler, linker, compiled stdlib
Description-md5: 4b644c1329d03644c1e0137da5dcdaf3
Supported: 5y