How To Install libzstd-devel on Rocky Linux 8

In this tutorial we learn how to install libzstd-devel on Rocky Linux 8. libzstd-devel is Header files for Zstd library

Introduction

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

What is libzstd-devel

Header files for Zstd library.

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

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

sudo dnf -y install libzstd-devel

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

sudo yum -y install libzstd-devel

How To Uninstall libzstd-devel on Rocky Linux 8

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

sudo dnf remove libzstd-devel

libzstd-devel Package Contents on Rocky Linux 8

/usr/include/zbuff.h
/usr/include/zdict.h
/usr/include/zstd.h
/usr/include/zstd_errors.h
/usr/lib/libzstd.so
/usr/lib/pkgconfig/libzstd.pc
/usr/include/zbuff.h
/usr/include/zdict.h
/usr/include/zstd.h
/usr/include/zstd_errors.h
/usr/lib64/libzstd.so
/usr/lib64/pkgconfig/libzstd.pc

References

Summary

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