How to Install and Uninstall golang Package on Debian 11 (Bullseye)

Last updated: December 23,2024

1. Install "golang" package

Please follow the steps below to install golang on Debian 11 (Bullseye)

$ sudo apt update $ sudo apt install golang

2. Uninstall "golang" package

This guide covers the steps necessary to uninstall golang on Debian 11 (Bullseye):

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

3. Information about the golang package on Debian 11 (Bullseye)

Package: golang
Source: golang-defaults
Version: 2:1.15~1
Installed-Size: 11
Maintainer: Go Compiler Team
Architecture: amd64
Depends: golang-1.15, golang-doc (>= 2:1.15~1), golang-go (>= 2:1.15~1), golang-src (>= 2:1.15~1)
Description: Go programming language compiler - metapackage
Description-md5: 8650a23f44e2d60a785ad3123733d6d8
Multi-Arch: same
Homepage: https://golang.org
Section: golang
Priority: optional
Filename: pool/main/g/golang-defaults/golang_1.15~1_amd64.deb
Size: 4844
MD5sum: b0dc0b442e47640bd14d8a497039b597
SHA256: e755bc053c3e3c19746f6b9363e33af02fc412be0b88b97c4dac86d427ccdcd4