How To Install golang-github-armon-proxyproto-devel on Fedora 36
Introduction
In this tutorial we learn how to install golang-github-armon-proxyproto-devel
on Fedora 36.
What is golang-github-armon-proxyproto-devel
This library provides the proxyproto package which can be used for servers listening behind HAProxy of Amazon ELB load balancers. Those load balancers support the use of a proxy protocol (http simple mechansim for the server to get the address of the client instead of the load balancer. This library provides both a net.Listener and net.Conn implementation that can be used to handle situation in which you may be using the proxy protocol. Only proxy protocol version 1, the human-readable form, is understood. The only caveat is that we check for the “PROXY " prefix to determine if the protocol is being used. If that string may occur as part of your input, then it is ambiguous if the protocol is being used and you may have problems. This package contains the source code needed for building packages that reference the following Go import paths – github.com/armon/go-proxyproto
We can use yum
or dnf
to install golang-github-armon-proxyproto-devel
on Fedora 36. In this tutorial we discuss both methods but you only need to choose one of method to install golang-github-armon-proxyproto-devel.
Install golang-github-armon-proxyproto-devel 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-armon-proxyproto-devel
using dnf
by running the following command:
sudo dnf -y install golang-github-armon-proxyproto-devel
Install golang-github-armon-proxyproto-devel 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-armon-proxyproto-devel
using yum
by running the following command:
sudo yum -y install golang-github-armon-proxyproto-devel
How To Uninstall golang-github-armon-proxyproto-devel on Fedora 36
To uninstall only the golang-github-armon-proxyproto-devel
package we can use the following command:
sudo dnf remove golang-github-armon-proxyproto-devel
golang-github-armon-proxyproto-devel Package Contents on Fedora 36
/usr/share/doc/golang-github-armon-proxyproto-devel
/usr/share/doc/golang-github-armon-proxyproto-devel/README.md
/usr/share/gocode/src/github.com
/usr/share/gocode/src/github.com/armon
/usr/share/gocode/src/github.com/armon/go-proxyproto
/usr/share/gocode/src/github.com/armon/go-proxyproto/.goipath
/usr/share/gocode/src/github.com/armon/go-proxyproto/README.md
/usr/share/gocode/src/github.com/armon/go-proxyproto/protocol.go
/usr/share/gocode/src/github.com/armon/go-proxyproto/protocol_test.go
/usr/share/licenses/golang-github-armon-proxyproto-devel
/usr/share/licenses/golang-github-armon-proxyproto-devel/LICENSE
References
Summary
In this tutorial we learn how to install golang-github-armon-proxyproto-devel
on Fedora 36 using yum and [dnf]((/fedora/36/dnf/).