How To Install golang-github-phayes-freeport on Fedora 36

In this tutorial we learn how to install golang-github-phayes-freeport in Fedora 36. golang-github-phayes-freeport is Detect free and open TCP port

Introduction

In this tutorial we learn how to install golang-github-phayes-freeport on Fedora 36.

What is golang-github-phayes-freeport

Get a free and open TCP port that is ready to use.

We can use yum or dnf to install golang-github-phayes-freeport on Fedora 36. In this tutorial we discuss both methods but you only need to choose one of method to install golang-github-phayes-freeport.

Install golang-github-phayes-freeport 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-phayes-freeport using dnf by running the following command:

sudo dnf -y install golang-github-phayes-freeport

Install golang-github-phayes-freeport 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-phayes-freeport using yum by running the following command:

sudo yum -y install golang-github-phayes-freeport

How To Uninstall golang-github-phayes-freeport on Fedora 36

To uninstall only the golang-github-phayes-freeport package we can use the following command:

sudo dnf remove golang-github-phayes-freeport

golang-github-phayes-freeport Package Contents on Fedora 36

/usr/bin/freeport
/usr/lib/.build-id
/usr/lib/.build-id/03
/usr/lib/.build-id/03/93ba4263751a48970e7d6bf1ac947da842af15
/usr/share/doc/golang-github-phayes-freeport
/usr/share/doc/golang-github-phayes-freeport/README.md
/usr/share/licenses/golang-github-phayes-freeport
/usr/share/licenses/golang-github-phayes-freeport/LICENSE.md

References

Summary

In this tutorial we learn how to install golang-github-phayes-freeport on Fedora 36 using yum and [dnf]((/fedora/36/dnf/).