How to Install and Uninstall golang Package on Ubuntu 22.04 LTS (Jammy Jellyfish)
Last updated: December 28,2024
Notice
You can also install and uninstall the golang on the following distributions in the same way, as they are all based on the Ubuntu system
- Kubuntu 22.04 LTS
- Lubuntu 22.04 LTS
- Xubuntu 22.04 LTS
- Ubuntu MATE 22.04 LTS
- Ubuntu Studio 22.04 LTS
- Pop!_OS 22.04 LTS
- Zorin OS 16 / Zorin OS 17
- Ubuntu Budgie 22.04
1. Install "golang" package
This is a short guide on how to install golang on Ubuntu 22.04 LTS (Jammy Jellyfish)
$
sudo apt update
Copied
$
sudo apt install
golang
Copied
2. Uninstall "golang" package
Please follow the steps below to uninstall golang on Ubuntu 22.04 LTS (Jammy Jellyfish):
$
sudo apt remove
golang
Copied
$
sudo apt autoclean && sudo apt autoremove
Copied
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
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