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

Last updated: November 13,2024

1. Install "golang-1.21" package

This tutorial shows how to install golang-1.21 on Ubuntu 22.04 LTS (Jammy Jellyfish)

$ sudo apt update $ sudo apt install golang-1.21

2. Uninstall "golang-1.21" package

Please follow the guidelines below to uninstall golang-1.21 on Ubuntu 22.04 LTS (Jammy Jellyfish):

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

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

Package: golang-1.21
Architecture: all
Version: 1.21.1-1~ubuntu22.04.2
Priority: optional
Section: universe/golang
Origin: Ubuntu
Maintainer: Ubuntu Developers
Original-Maintainer: Debian Go Compiler Team
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Installed-Size: 43
Depends: golang-1.21-doc (>= 1.21.1-1~ubuntu22.04.2), golang-1.21-go (>= 1.21.1-1~ubuntu22.04.2), golang-1.21-src (>= 1.21.1-1~ubuntu22.04.2)
Filename: pool/universe/g/golang-1.21/golang-1.21_1.21.1-1~ubuntu22.04.2_all.deb
Size: 5696
MD5sum: 05383b46405a6c65e9c02e7e75665d82
SHA1: 4b80d3378849d909e0257899f7880c5d4732d7f7
SHA256: dceaa08a66c2e02c71a00ef94e280684d022c865f81f2274c3f0a8223c49fdc1
SHA512: 89f399fdb58e040aadc1ec65eab3c1fa7891f00524807b0cda8ecb6fbc09adc9ee6b53b31028f6136b0938b004e0f34677ac694a2141692e640ae0832aab9df5
Homepage: https://go.dev/
Description: Go programming language compiler - metapackage
Description-md5: 25fc56746bc77593fa7d740792281089