How To Install golang-github-inconshreveable-vhost-devel on Fedora 36
Introduction
In this tutorial we learn how to install golang-github-inconshreveable-vhost-devel
on Fedora 36.
What is golang-github-inconshreveable-vhost-devel
Go-vhost is a simple library that lets you implement virtual hosting functionality for different protocols (HTTP and TLS so far). Go-vhost has a high-level and a low-level interface. The high-level interface lets you wrap existing net.Listeners with “muxer” objects. You can then Listen() on a muxer for a particular virtual host name of interest which will return to you a net.Listener for just connections with the virtual hostname of interest. The lower-level Go-vhost interface are just functions which extract the name/routing information for the given protocol and return an object implementing net.Conn which works as if no bytes had been consumed. This package contains the source code needed for building packages that reference the following Go import paths – github.com/inconshreveable/go-vhost
We can use yum
or dnf
to install golang-github-inconshreveable-vhost-devel
on Fedora 36. In this tutorial we discuss both methods but you only need to choose one of method to install golang-github-inconshreveable-vhost-devel.
Install golang-github-inconshreveable-vhost-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-inconshreveable-vhost-devel
using dnf
by running the following command:
sudo dnf -y install golang-github-inconshreveable-vhost-devel
Install golang-github-inconshreveable-vhost-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-inconshreveable-vhost-devel
using yum
by running the following command:
sudo yum -y install golang-github-inconshreveable-vhost-devel
How To Uninstall golang-github-inconshreveable-vhost-devel on Fedora 36
To uninstall only the golang-github-inconshreveable-vhost-devel
package we can use the following command:
sudo dnf remove golang-github-inconshreveable-vhost-devel
golang-github-inconshreveable-vhost-devel Package Contents on Fedora 36
/usr/share/doc/golang-github-inconshreveable-vhost-devel
/usr/share/doc/golang-github-inconshreveable-vhost-devel/README.md
/usr/share/gocode/src/github.com
/usr/share/gocode/src/github.com/inconshreveable
/usr/share/gocode/src/github.com/inconshreveable/go-vhost
/usr/share/gocode/src/github.com/inconshreveable/go-vhost/.goipath
/usr/share/gocode/src/github.com/inconshreveable/go-vhost/README.md
/usr/share/gocode/src/github.com/inconshreveable/go-vhost/http.go
/usr/share/gocode/src/github.com/inconshreveable/go-vhost/http_test.go
/usr/share/gocode/src/github.com/inconshreveable/go-vhost/interface.go
/usr/share/gocode/src/github.com/inconshreveable/go-vhost/mux.go
/usr/share/gocode/src/github.com/inconshreveable/go-vhost/mux_test.go
/usr/share/gocode/src/github.com/inconshreveable/go-vhost/shared.go
/usr/share/gocode/src/github.com/inconshreveable/go-vhost/shared_test.go
/usr/share/gocode/src/github.com/inconshreveable/go-vhost/tls.go
/usr/share/gocode/src/github.com/inconshreveable/go-vhost/tls_test.go
/usr/share/licenses/golang-github-inconshreveable-vhost-devel
/usr/share/licenses/golang-github-inconshreveable-vhost-devel/LICENSE
References
Summary
In this tutorial we learn how to install golang-github-inconshreveable-vhost-devel
on Fedora 36 using yum and [dnf]((/fedora/36/dnf/).