How to Install and Uninstall golang Package on Ubuntu 24.04 LTS (Noble Numbat)
Last updated: November 23,2024
1. Install "golang" package
Please follow the steps below to install golang on Ubuntu 24.04 LTS (Noble Numbat)
$
sudo apt update
Copied
$
sudo apt install
golang
Copied
2. Uninstall "golang" package
Please follow the step by step instructions below to uninstall golang on Ubuntu 24.04 LTS (Noble Numbat):
$
sudo apt remove
golang
Copied
$
sudo apt autoclean && sudo apt autoremove
Copied
3. Information about the golang package on Ubuntu 24.04 LTS (Noble Numbat)
Package: golang
Architecture: amd64
Version: 2:1.22~2
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: 11
Depends: golang-1.22, golang-doc (>= 2:1.22~2), golang-go (>= 2:1.22~2), golang-src (>= 2:1.22~2)
Filename: pool/main/g/golang-defaults/golang_1.22~2_amd64.deb
Size: 2726
MD5sum: 331cd19d98788de7f465523382b38b67
SHA1: 39562d45c0419bba2a757c0a8a54a8388946e216
SHA256: c7028ebe1285ccba462fd29e0f0f14e10a091edb553aef30658ee5768bce1cdb
SHA512: f9ac9f3eed9132964afd4ac172c527a951c66f008cf2590c784e881ace0189c69ff2bbe70c52efac7aa84493c396d9b7396fc6e70e3b90babe930e092782bb7b
Homepage: https://golang.org
Description: Go programming language compiler - metapackage
Description-md5: 8650a23f44e2d60a785ad3123733d6d8
Architecture: amd64
Version: 2:1.22~2
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: 11
Depends: golang-1.22, golang-doc (>= 2:1.22~2), golang-go (>= 2:1.22~2), golang-src (>= 2:1.22~2)
Filename: pool/main/g/golang-defaults/golang_1.22~2_amd64.deb
Size: 2726
MD5sum: 331cd19d98788de7f465523382b38b67
SHA1: 39562d45c0419bba2a757c0a8a54a8388946e216
SHA256: c7028ebe1285ccba462fd29e0f0f14e10a091edb553aef30658ee5768bce1cdb
SHA512: f9ac9f3eed9132964afd4ac172c527a951c66f008cf2590c784e881ace0189c69ff2bbe70c52efac7aa84493c396d9b7396fc6e70e3b90babe930e092782bb7b
Homepage: https://golang.org
Description: Go programming language compiler - metapackage
Description-md5: 8650a23f44e2d60a785ad3123733d6d8