How To Install msgpuck-devel on CentOS 7

In this tutorial we learn how to install msgpuck-devel on CentOS 7. msgpuck-devel is MsgPack serialization library in a self-contained header file

Introduction

In this tutorial we learn how to install msgpuck-devel on CentOS 7.

What is msgpuck-devel

MsgPack is a binary-based efficient object serialization library. It enables to exchange structured objects between many languages like JSON. But unlike JSON, it is very fast and small. msgpuck is very lightweight header-only library designed to be embedded to your application by the C/C++ compiler. The library is fully documented and covered by unit tests. This package provides a self-contained header file and a static library. The static library contains generated code for inline functions and global tables needed by the some library functions.

We can use yum or dnf to install msgpuck-devel on CentOS 7. In this tutorial we discuss both methods but you only need to choose one of method to install msgpuck-devel.

Install msgpuck-devel on CentOS 7 Using yum

Update yum database with yum using the following command.

sudo yum makecache

After updating yum database, We can install msgpuck-devel using yum by running the following command:

sudo yum -y install msgpuck-devel

Install msgpuck-devel on CentOS 7 Using dnf

If you don’t have dnf installed you can install DNF on CentOS 7 first. Update yum database with dnf using the following command.

sudo dnf makecache

After updating yum database, We can install msgpuck-devel using dnf by running the following command:

sudo dnf -y install msgpuck-devel

How To Uninstall msgpuck-devel on CentOS 7

To uninstall only the msgpuck-devel package we can use the following command:

sudo dnf remove msgpuck-devel

References

Summary

In this tutorial we learn how to install msgpuck-devel on CentOS 7 using yum and dnf.