How to Install and Uninstall golang Package on Ubuntu 22.10 (Kinetic Kudu)

Last updated: December 22,2024

1. Install "golang" package

This is a short guide on how to install golang on Ubuntu 22.10 (Kinetic Kudu)

$ sudo apt update $ sudo apt install golang

2. Uninstall "golang" package

Please follow the guidelines below to uninstall golang on Ubuntu 22.10 (Kinetic Kudu):

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

3. Information about the golang package on Ubuntu 22.10 (Kinetic Kudu)

Package: golang
Architecture: amd64
Version: 2:1.19~1
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.19, golang-doc (>= 2:1.19~1), golang-go (>= 2:1.19~1), golang-src (>= 2:1.19~1)
Filename: pool/main/g/golang-defaults/golang_1.19~1_amd64.deb
Size: 2718
MD5sum: 1e789b17d7e234109bdb4ab273c17d32
SHA1: e7756f7e95aeda1685c57888cceb349b46f6e5cc
SHA256: 42cc58fd801c122228c3dfa99375aba5a4c8d54974909088e7fa94313183d2bc
SHA512: 915d37ba3be4d98096e71ec961c5beb75c222f14a93266562c1d6c799754c60b002c760ce404ce80b395b8f1e70d330d67ae5db3df09d5c4f8a252b4a6cc62bb
Homepage: https://golang.org
Description: Go programming language compiler - metapackage
Description-md5: 8650a23f44e2d60a785ad3123733d6d8