How to Install and Uninstall golang-github-mitchellh-go-homedir-dev Package on Ubuntu 20.10 (Groovy Gorilla)

Last updated: May 09,2024

1. Install "golang-github-mitchellh-go-homedir-dev" package

Please follow the guidelines below to install golang-github-mitchellh-go-homedir-dev on Ubuntu 20.10 (Groovy Gorilla)

$ sudo apt update $ sudo apt install golang-github-mitchellh-go-homedir-dev

2. Uninstall "golang-github-mitchellh-go-homedir-dev" package

Please follow the guidance below to uninstall golang-github-mitchellh-go-homedir-dev on Ubuntu 20.10 (Groovy Gorilla):

$ sudo apt remove golang-github-mitchellh-go-homedir-dev $ sudo apt autoclean && sudo apt autoremove

3. Information about the golang-github-mitchellh-go-homedir-dev package on Ubuntu 20.10 (Groovy Gorilla)

Package: golang-github-mitchellh-go-homedir-dev
Architecture: all
Version: 1.1.0-1
Priority: extra
Section: universe/devel
Source: golang-github-mitchellh-go-homedir
Origin: Ubuntu
Maintainer: Ubuntu Developers
Original-Maintainer: Debian Go Packaging Team
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Installed-Size: 21
Filename: pool/universe/g/golang-github-mitchellh-go-homedir/golang-github-mitchellh-go-homedir-dev_1.1.0-1_all.deb
Size: 5208
MD5sum: 233d53341604e88c2e1ddb577b22a35d
SHA1: 1d97f2b1e3ddf7b373d90a3ac223628cd397bef8
SHA256: b65810bb78a01e4396489e37ff140ed865d7334ddf8758e8c159a36f14ec10a3
SHA512: b92350c999ca7ca07ca6ac9ba646d96b9ab3c3bc51a69d6b00b0af2e2586444c217bc8bc284d48d4ef9b9a530523ec8a646282b6b98070160b10a5fed7494b8d
Homepage: https://github.com/mitchellh/go-homedir
Description-en: 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: 96006430e67e029ffeb111f3b3901bf3