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

Last updated: December 28,2024

1. Install "golang" package

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

$ sudo apt update $ sudo apt install golang

2. Uninstall "golang" package

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

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

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

Package: golang
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: 12
Depends: golang-1.18, golang-doc (>= 2:1.18~0ubuntu2), golang-go (>= 2:1.18~0ubuntu2), golang-src (>= 2:1.18~0ubuntu2)
Filename: pool/main/g/golang-defaults/golang_1.18~0ubuntu2_amd64.deb
Size: 2732
MD5sum: a74b331f8d5dadac72eb701e97049381
SHA1: bddf619c709de162c8dee25bbe4808113502ca17
SHA256: 4119f87afcdea4b69809b1011b52a44519d139e38a1d3575d756b12dcd16c1d1
SHA512: c9b2072b3546eb95ac95daabf93c38ef2703d66a4a997422c04638a77591738c82d3f2e7f37554b61e8ce9e09a4eb7d542bb4ac48f3d726a93897a1151becfaf
Homepage: https://golang.org
Description: Go programming language compiler - metapackage
Description-md5: 8650a23f44e2d60a785ad3123733d6d8