How to Install and Uninstall golang-1.21 Package on Ubuntu 24.04 LTS (Noble Numbat)

Last updated: November 26,2024

1. Install "golang-1.21" package

Please follow the guidance below to install golang-1.21 on Ubuntu 24.04 LTS (Noble Numbat)

$ sudo apt update $ sudo apt install golang-1.21

2. Uninstall "golang-1.21" package

Here is a brief guide to show you how to uninstall golang-1.21 on Ubuntu 24.04 LTS (Noble Numbat):

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

3. Information about the golang-1.21 package on Ubuntu 24.04 LTS (Noble Numbat)

Package: golang-1.21
Architecture: all
Version: 1.21.7-2
Priority: optional
Section: golang
Origin: Ubuntu
Maintainer: Ubuntu Developers
Original-Maintainer: Debian Go Compiler Team
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Installed-Size: 32
Depends: golang-1.21-doc (>= 1.21.7-2), golang-1.21-go (>= 1.21.7-2), golang-1.21-src (>= 1.21.7-2)
Filename: pool/main/g/golang-1.21/golang-1.21_1.21.7-2_all.deb
Size: 5690
MD5sum: cae2bea1fd02aa84996453c9a34ffd85
SHA1: 5b8881798229ed1a1e9df92ab5a7d6c544d4e925
SHA256: a60cafbeb31e92f22dfbc7b0a199f1b82efb3700f13924720ffb105674772a02
SHA512: abbdd59a87c635ac1297edff7b90681801d212fbd059ddd71d2bac74a2f05b8149068716e46e37d944abd766f0e4f6e694df687cea7cee466c7493164723cb7f
Homepage: https://go.dev/
Description: Go programming language compiler - metapackage
Description-md5: 25fc56746bc77593fa7d740792281089