How to Install and Uninstall golang Package on Debian 10 (Buster)

Last updated: May 02,2024

1. Install "golang" package

Please follow the step by step instructions below to install golang on Debian 10 (Buster)

$ sudo apt update $ sudo apt install golang

2. Uninstall "golang" package

Please follow the step by step instructions below to uninstall golang on Debian 10 (Buster):

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

3. Information about the golang package on Debian 10 (Buster)

Package: golang
Source: golang-defaults
Version: 2:1.11~1
Installed-Size: 11
Maintainer: Go Compiler Team
Architecture: amd64
Depends: golang-1.11, golang-doc (>= 2:1.11~1), golang-go (>= 2:1.11~1), golang-src (>= 2:1.11~1)
Description: Go programming language compiler - metapackage
Description-md5: 8650a23f44e2d60a785ad3123733d6d8
Homepage: https://golang.org
Section: devel
Priority: optional
Filename: pool/main/g/golang-defaults/golang_1.11~1_amd64.deb
Size: 4336
MD5sum: 75de9421d1a959eaf050f7525a80e61c
SHA256: d6e9ce21de4266bef6f914b6486c76bc595ea0aa2a7b8c21ea36269db26cfb1c