How to Install and Uninstall golang-src Package on Ubuntu 21.04 (Hirsute Hippo)

Last updated: May 10,2024

1. Install "golang-src" package

This guide covers the steps necessary to install golang-src on Ubuntu 21.04 (Hirsute Hippo)

$ sudo apt update $ sudo apt install golang-src

2. Uninstall "golang-src" package

Please follow the guidelines below to uninstall golang-src on Ubuntu 21.04 (Hirsute Hippo):

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

3. Information about the golang-src package on Ubuntu 21.04 (Hirsute Hippo)

Package: golang-src
Architecture: amd64
Version: 2:1.16~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.16-src
Filename: pool/main/g/golang-defaults/golang-src_1.16~0ubuntu1_amd64.deb
Size: 4120
MD5sum: 9ce4f6df06aa286fcaa1572b8c7a7bc4
SHA1: fedf6fdc64eefd245e3ee16b2446c481eec5d0ec
SHA256: 5a4459eddc8a32c3234eaea33131c2edae14b3eeaf763ab1a0392312ff35af82
SHA512: aa7e2a2e4a45188488e28e4d5ba1dcac42ea4edaeb36f0ac24ee59e36cf6e994a1b76bb6ef6ab59145a0944a9879e882bf329c52d7ccb98537d725799b4719b0
Homepage: https://golang.org
Description-en: Go programming language - source files
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 is a dependency package that depends on the default Go standard library
source code, which is needed for the go build process.
Description-md5: 4f562b95d873fbeb7b702f869c5413db