How To Install golang-github-magefile-mage on Fedora 36

In this tutorial we learn how to install golang-github-magefile-mage in Fedora 36. golang-github-magefile-mage is A Make/rake-like dev tool using Go

Introduction

In this tutorial we learn how to install golang-github-magefile-mage on Fedora 36.

What is golang-github-magefile-mage

A Make/rake-like dev tool using Go.

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

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

sudo dnf -y install golang-github-magefile-mage

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

sudo yum -y install golang-github-magefile-mage

How To Uninstall golang-github-magefile-mage on Fedora 36

To uninstall only the golang-github-magefile-mage package we can use the following command:

sudo dnf remove golang-github-magefile-mage

golang-github-magefile-mage Package Contents on Fedora 36

/usr/bin/mage
/usr/lib/.build-id
/usr/lib/.build-id/45
/usr/lib/.build-id/45/f59cfbcbc8afb1053666d0b21e1b700267f9a8
/usr/share/doc/golang-github-magefile-mage
/usr/share/doc/golang-github-magefile-mage/CODE_OF_CONDUCT.md
/usr/share/doc/golang-github-magefile-mage/CONTRIBUTING.md
/usr/share/doc/golang-github-magefile-mage/README.md
/usr/share/licenses/golang-github-magefile-mage
/usr/share/licenses/golang-github-magefile-mage/LICENSE

References

Summary

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