How to Install and Uninstall golang-src Package on Debian 12 (Bookworm)

Last updated: December 23,2024

1. Install "golang-src" package

This is a short guide on how to install golang-src on Debian 12 (Bookworm)

$ sudo apt update $ sudo apt install golang-src

2. Uninstall "golang-src" package

Please follow the guidelines below to uninstall golang-src on Debian 12 (Bookworm):

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

3. Information about the golang-src package on Debian 12 (Bookworm)

Package: golang-src
Source: golang-defaults
Version: 2:1.19~1
Installed-Size: 13
Maintainer: Debian Go Compiler Team
Architecture: all
Depends: golang-1.19-src
Description: Go programming language - source files
Description-md5: 4f562b95d873fbeb7b702f869c5413db
Multi-Arch: foreign
Homepage: https://golang.org
Section: golang
Priority: optional
Filename: pool/main/g/golang-defaults/golang-src_1.19~1_all.deb
Size: 5756
MD5sum: d36120c91468b3a6bfbbe38de26eb207
SHA256: 15c5627e7f1ae650ea1103b864b77d874b5b1d2693802649b956efeed3ccb02f