How To Install msgp on Fedora 36

In this tutorial we learn how to install msgp in Fedora 36. msgp is Go code generator for MessagePack

Introduction

In this tutorial we learn how to install msgp on Fedora 36.

What is msgp

This is a code generation tool and serialization library for MessagePack. This package contains the msgp binary.

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

Install msgp 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 msgp using dnf by running the following command:

sudo dnf -y install msgp

Install msgp 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 msgp using yum by running the following command:

sudo yum -y install msgp

How To Uninstall msgp on Fedora 36

To uninstall only the msgp package we can use the following command:

sudo dnf remove msgp

msgp Package Contents on Fedora 36

/usr/bin/msgp
/usr/lib/.build-id
/usr/lib/.build-id/b8
/usr/lib/.build-id/b8/93fd8b74acab20e8e746db9ece808b8c3efa1b
/usr/share/doc/msgp
/usr/share/doc/msgp/README.md
/usr/share/licenses/msgp
/usr/share/licenses/msgp/LICENSE

References

Summary

In this tutorial we learn how to install msgp on Fedora 36 using yum and [dnf]((/fedora/36/dnf/).