How to Install and Uninstall golang-1.21 Package on Kali Linux

Last updated: December 25,2024

1. Install "golang-1.21" package

This tutorial shows how to install golang-1.21 on Kali Linux

$ sudo apt update $ sudo apt install golang-1.21

2. Uninstall "golang-1.21" package

This is a short guide on how to uninstall golang-1.21 on Kali Linux:

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

3. Information about the golang-1.21 package on Kali Linux

Package: golang-1.21
Version: 1.21.7-2
Installed-Size: 32
Maintainer: Debian Go Compiler Team
Architecture: all
Depends: golang-1.21-doc (>= 1.21.7-2), golang-1.21-go (>= 1.21.7-2), golang-1.21-src (>= 1.21.7-2)
Size: 14404
SHA256: f35f12bf5a5248b2190f0a310e27813ed0a4c77eac49abbad80726c267abc791
SHA1: 2fc0b18a3a0ada155044c6a11fe5a2bb9904c948
MD5sum: 55c7573e4f6ff638a2641eff7b99c93c
Description: 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.
.
To use this version, instead of the default one provided by golang-go
package, add /usr/lib/go-1.21/bin/ to PATH, or invoke /usr/lib/go-1.21/bin/go
directly.
Description-md5:
Homepage: https://go.dev/
Section: golang
Priority: optional
Filename: pool/main/g/golang-1.21/golang-1.21_1.21.7-2_all.deb