How to Install and Uninstall golang Package on Ubuntu 21.10 (Impish Indri)

Last updated: May 02,2024

1. Install "golang" package

This guide covers the steps necessary to install golang on Ubuntu 21.10 (Impish Indri)

$ sudo apt update $ sudo apt install golang

2. Uninstall "golang" package

This guide let you learn how to uninstall golang on Ubuntu 21.10 (Impish Indri):

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

3. Information about the golang package on Ubuntu 21.10 (Impish Indri)

Package: golang
Architecture: amd64
Version: 2:1.17~0ubuntu1
Multi-Arch: same
Priority: optional
Section: devel
Source: golang-defaults
Origin: Ubuntu
Maintainer: Ubuntu Developers
Original-Maintainer: Go Compiler Team
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Installed-Size: 12
Depends: golang-1.17, golang-doc (>= 2:1.17~0ubuntu1), golang-go (>= 2:1.17~0ubuntu1), golang-src (>= 2:1.17~0ubuntu1)
Filename: pool/main/g/golang-defaults/golang_1.17~0ubuntu1_amd64.deb
Size: 2730
MD5sum: 2793100a678ccda9207f2a2ab0babadf
SHA1: d2250018fd4cddc91a89b17cec274c70fe2b9aab
SHA256: dacdfe0e9f853239ca59cdf2b15727da7e18bf3011df9cb7b9618ca1d9c472f6
SHA512: 651d98f8413bae219ad4f6062c9446c9875826947bf776ca50615b6d2583d220a3ea5007bbea00f4d012db0e993f98f348e8c35f905f95cd20586f5be2817a5d
Homepage: https://golang.org
Description-en: Go programming language compiler - metapackage
The Go programming language is an open source project to make
programmers more productive. Go is expressive, concise, clean, and
efficient. Its concurrency mechanisms make it easy to write programs
that get the most out of multicore and networked machines, while its
novel type system enables flexible and modular program construction.
Go compiles quickly to machine code yet has the convenience of
garbage collection and the power of run-time reflection. It's a
fast, statically typed, compiled language that feels like a
dynamically typed, interpreted language.
.
This package is a metapackage that, when installed, guarantees
that (most of) a full Go development environment is installed.
Description-md5: 8650a23f44e2d60a785ad3123733d6d8