How to Install and Uninstall golang-go Package on Ubuntu 22.04 LTS (Jammy Jellyfish)

Last updated: December 24,2024

1. Install "golang-go" package

This is a short guide on how to install golang-go on Ubuntu 22.04 LTS (Jammy Jellyfish)

$ sudo apt update $ sudo apt install golang-go

2. Uninstall "golang-go" package

Please follow the step by step instructions below to uninstall golang-go on Ubuntu 22.04 LTS (Jammy Jellyfish):

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

3. Information about the golang-go package on Ubuntu 22.04 LTS (Jammy Jellyfish)

Package: golang-go
Architecture: amd64
Version: 2:1.18~0ubuntu2
Multi-Arch: same
Priority: optional
Section: devel
Source: golang-defaults
Origin: Ubuntu
Maintainer: Ubuntu Developers
Original-Maintainer: Debian Go Compiler Team
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Installed-Size: 67
Depends: golang-1.18-go, golang-src (>= 2:1.18~0ubuntu2)
Suggests: git
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~)
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~)
Filename: pool/main/g/golang-defaults/golang-go_1.18~0ubuntu2_amd64.deb
Size: 41784
MD5sum: dab427709cf994495b304b27eb9a62b3
SHA1: 57f7452bdf9f3afa94e81ae84a1effa531774c2d
SHA256: 4dc6a014af954dc27ce6fde2abc019e55d28acc74b39765b42298475a9815683
SHA512: 3e908232af75ab0cc4a47d4d8228ac18705305bfe1eae9bf93c40c68d115a9080d38009284776c2940e79a6696a5817242b096e4b282ad1ab5e3ebdfeffe6835
Homepage: https://golang.org
Description: Go programming language compiler, linker, compiled stdlib
Description-md5: 4b644c1329d03644c1e0137da5dcdaf3