How To Install golang-github-masterminds-semver-1-devel on Fedora 36

In this tutorial we learn how to install golang-github-masterminds-semver-1-devel in Fedora 36. golang-github-masterminds-semver-1-devel is Work with Semantic Versions in Go

Introduction

In this tutorial we learn how to install golang-github-masterminds-semver-1-devel on Fedora 36.

What is golang-github-masterminds-semver-1-devel

The Semver package provides the ability to work with Semantic Versions in Go. Specifically it provides the ability to – Parse semantic versions – Sort semantic versions – Check if a semantic version fits within a set of constraints – Optionally work with a v prefix This package contains the source code needed for building packages that reference the following Go import paths – github.com/Masterminds/semver

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

Install golang-github-masterminds-semver-1-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-masterminds-semver-1-devel using dnf by running the following command:

sudo dnf -y install golang-github-masterminds-semver-1-devel

Install golang-github-masterminds-semver-1-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-masterminds-semver-1-devel using yum by running the following command:

sudo yum -y install golang-github-masterminds-semver-1-devel

How To Uninstall golang-github-masterminds-semver-1-devel on Fedora 36

To uninstall only the golang-github-masterminds-semver-1-devel package we can use the following command:

sudo dnf remove golang-github-masterminds-semver-1-devel

golang-github-masterminds-semver-1-devel Package Contents on Fedora 36

/usr/share/doc/golang-github-masterminds-semver-1-devel
/usr/share/doc/golang-github-masterminds-semver-1-devel/CHANGELOG.md
/usr/share/doc/golang-github-masterminds-semver-1-devel/README.md
/usr/share/gocode/src/github.com
/usr/share/gocode/src/github.com/Masterminds
/usr/share/gocode/src/github.com/Masterminds/semver
/usr/share/gocode/src/github.com/Masterminds/semver/.goipath
/usr/share/gocode/src/github.com/Masterminds/semver/CHANGELOG.md
/usr/share/gocode/src/github.com/Masterminds/semver/README.md
/usr/share/gocode/src/github.com/Masterminds/semver/benchmark_test.go
/usr/share/gocode/src/github.com/Masterminds/semver/collection.go
/usr/share/gocode/src/github.com/Masterminds/semver/collection_test.go
/usr/share/gocode/src/github.com/Masterminds/semver/constraints.go
/usr/share/gocode/src/github.com/Masterminds/semver/constraints_test.go
/usr/share/gocode/src/github.com/Masterminds/semver/doc.go
/usr/share/gocode/src/github.com/Masterminds/semver/version.go
/usr/share/gocode/src/github.com/Masterminds/semver/version_fuzz.go
/usr/share/gocode/src/github.com/Masterminds/semver/version_test.go
/usr/share/licenses/golang-github-masterminds-semver-1-devel
/usr/share/licenses/golang-github-masterminds-semver-1-devel/LICENSE.txt

References

Summary

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