How To Install lua-mpack on Fedora 36

In this tutorial we learn how to install lua-mpack in Fedora 36. lua-mpack is Implementation of MessagePack for Lua

Introduction

In this tutorial we learn how to install lua-mpack on Fedora 36.

What is lua-mpack

mpack is a small binary serialization/RPC library that implements both the msgpack and msgpack-rpc specifications.

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

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

sudo dnf -y install lua-mpack

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

sudo yum -y install lua-mpack

How To Uninstall lua-mpack on Fedora 36

To uninstall only the lua-mpack package we can use the following command:

sudo dnf remove lua-mpack

lua-mpack Package Contents on Fedora 36

/usr/lib/.build-id
/usr/lib/.build-id/35
/usr/lib/.build-id/35/97e4a6bc45fc60b8eea4353c6a66abe92ce71a
/usr/lib64/lua/5.4/mpack.so
/usr/share/doc/lua-mpack
/usr/share/doc/lua-mpack/README.md

References

Summary

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