How To Install golang-github-hashicorp-sockaddr on Fedora 36
Introduction
In this tutorial we learn how to install golang-github-hashicorp-sockaddr
on Fedora 36.
What is golang-github-hashicorp-sockaddr
Socket address convenience functions for Go. go-sockaddr is a convenience library that makes doing the right thing with IP addresses easy. go-sockaddr is loosely modeled after the UNIX sockaddr_t and creates a union of the family of sockaddr_t types (see below for an ascii diagram). Library documentation is available at https intent of the library was to make it possible to define heuristics for selecting the correct IP addresses when a configuration is evaluated at runtime. See the docs, template package, tests, and CLI utility for details and hints as to how to use this library.
We can use yum
or dnf
to install golang-github-hashicorp-sockaddr
on Fedora 36. In this tutorial we discuss both methods but you only need to choose one of method to install golang-github-hashicorp-sockaddr.
Install golang-github-hashicorp-sockaddr on Fedora 36 Using dnf
Update yum database with dnf
using the following command.
sudo dnf makecache --refresh
After updating yum database, We can install golang-github-hashicorp-sockaddr
using dnf
by running the following command:
sudo dnf -y install golang-github-hashicorp-sockaddr
Install golang-github-hashicorp-sockaddr on Fedora 36 Using yum
Update yum database with yum
using the following command.
sudo yum makecache --refresh
After updating yum database, We can install golang-github-hashicorp-sockaddr
using yum
by running the following command:
sudo yum -y install golang-github-hashicorp-sockaddr
How To Uninstall golang-github-hashicorp-sockaddr on Fedora 36
To uninstall only the golang-github-hashicorp-sockaddr
package we can use the following command:
sudo dnf remove golang-github-hashicorp-sockaddr
golang-github-hashicorp-sockaddr Package Contents on Fedora 36
/usr/bin/sockaddr
/usr/lib/.build-id
/usr/lib/.build-id/43
/usr/lib/.build-id/43/931c8ab3a13b37a1214394852a9ad086bc3618
/usr/share/doc/golang-github-hashicorp-sockaddr
/usr/share/doc/golang-github-hashicorp-sockaddr/README-sockaddr.md
/usr/share/doc/golang-github-hashicorp-sockaddr/README-template.md
/usr/share/doc/golang-github-hashicorp-sockaddr/README.md
/usr/share/licenses/golang-github-hashicorp-sockaddr
/usr/share/licenses/golang-github-hashicorp-sockaddr/LICENSE
References
Summary
In this tutorial we learn how to install golang-github-hashicorp-sockaddr
on Fedora 36 using yum and [dnf]((/fedora/36/dnf/).