How to Install and Uninstall golang-github-mitchellh-go-homedir-dev Package on Kali Linux
Last updated: November 22,2024
1. Install "golang-github-mitchellh-go-homedir-dev" package
This tutorial shows how to install golang-github-mitchellh-go-homedir-dev on Kali Linux
$
sudo apt update
Copied
$
sudo apt install
golang-github-mitchellh-go-homedir-dev
Copied
2. Uninstall "golang-github-mitchellh-go-homedir-dev" package
Learn how to uninstall golang-github-mitchellh-go-homedir-dev on Kali Linux:
$
sudo apt remove
golang-github-mitchellh-go-homedir-dev
Copied
$
sudo apt autoclean && sudo apt autoremove
Copied
3. Information about the golang-github-mitchellh-go-homedir-dev package on Kali Linux
Package: golang-github-mitchellh-go-homedir-dev
Source: golang-github-mitchellh-go-homedir
Version: 1.1.0-1
Installed-Size: 21
Maintainer: Debian Go Packaging Team
Architecture: all
Size: 5168
SHA256: f8d4cf348ee4d6c0171d3c213f5577287e4bdc08b5d9ce6338ad0994c3203084
SHA1: 8efb30b16c2aa7d08926c7fa2f0c6f454a2e29f2
MD5sum: ebbcb03296d6fb2c7e64dd499b56f468
Description: Go library for detecting and expanding the user's home directory
This is a Go library for detecting the user's home directory without the use of
cgo, so the library can be used in cross-compilation environments.
.
Usage is incredibly simple, just call homedir.Dir() to get the home directory
for a user, and homedir.Expand() to expand the ~ in a path to the home
directory.
.
Why not just use os/user? The built-in os/user package requires cgo on Darwin
systems. This means that any Go code that uses that package cannot cross
compile. But 99% of the time the use for os/user is just to retrieve the home
directory, which we can do for the current user without cgo. This library does
that, enabling cross-compilation.
Description-md5:
Homepage: https://github.com/mitchellh/go-homedir
Section: devel
Priority: optional
Filename: pool/main/g/golang-github-mitchellh-go-homedir/golang-github-mitchellh-go-homedir-dev_1.1.0-1_all.deb
Source: golang-github-mitchellh-go-homedir
Version: 1.1.0-1
Installed-Size: 21
Maintainer: Debian Go Packaging Team
Architecture: all
Size: 5168
SHA256: f8d4cf348ee4d6c0171d3c213f5577287e4bdc08b5d9ce6338ad0994c3203084
SHA1: 8efb30b16c2aa7d08926c7fa2f0c6f454a2e29f2
MD5sum: ebbcb03296d6fb2c7e64dd499b56f468
Description: Go library for detecting and expanding the user's home directory
This is a Go library for detecting the user's home directory without the use of
cgo, so the library can be used in cross-compilation environments.
.
Usage is incredibly simple, just call homedir.Dir() to get the home directory
for a user, and homedir.Expand() to expand the ~ in a path to the home
directory.
.
Why not just use os/user? The built-in os/user package requires cgo on Darwin
systems. This means that any Go code that uses that package cannot cross
compile. But 99% of the time the use for os/user is just to retrieve the home
directory, which we can do for the current user without cgo. This library does
that, enabling cross-compilation.
Description-md5:
Homepage: https://github.com/mitchellh/go-homedir
Section: devel
Priority: optional
Filename: pool/main/g/golang-github-mitchellh-go-homedir/golang-github-mitchellh-go-homedir-dev_1.1.0-1_all.deb