How To Install libmcrypt-devel on Rocky Linux 8

In this tutorial we learn how to install libmcrypt-devel on Rocky Linux 8. libmcrypt-devel is Development libraries and headers for libmcrypt

Introduction

In this tutorial we learn how to install libmcrypt-devel on Rocky Linux 8.

What is libmcrypt-devel

Development libraries and headers for use in building applications that use libmcrypt.

We can use yum or dnf to install libmcrypt-devel on Rocky Linux 8. In this tutorial we discuss both methods but you only need to choose one of method to install libmcrypt-devel.

Install libmcrypt-devel on Rocky Linux 8 Using dnf

Update yum database with dnf using the following command.

sudo dnf makecache --refresh

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

sudo dnf -y install libmcrypt-devel

Install libmcrypt-devel on Rocky Linux 8 Using yum

Update yum database with yum using the following command.

sudo yum makecache --refresh

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

sudo yum -y install libmcrypt-devel

How To Uninstall libmcrypt-devel on Rocky Linux 8

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

sudo dnf remove libmcrypt-devel

libmcrypt-devel Package Contents on Rocky Linux 8

/usr/bin/libmcrypt-config
/usr/include/mcrypt.h
/usr/include/mutils
/usr/include/mutils/mcrypt.h
/usr/lib64/libmcrypt.so
/usr/share/aclocal/libmcrypt.m4
/usr/share/doc/libmcrypt-devel
/usr/share/doc/libmcrypt-devel/README.key
/usr/share/doc/libmcrypt-devel/README.xtea
/usr/share/doc/libmcrypt-devel/example.c

References

Summary

In this tutorial we learn how to install libmcrypt-devel on Rocky Linux 8 using yum and dnf.