How To Install liblzf-devel on Rocky Linux 8

In this tutorial we learn how to install liblzf-devel on Rocky Linux 8. liblzf-devel is Development files for liblzf

Introduction

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

What is liblzf-devel

The liblzf-devel package contains libraries and header files for developing applications that use liblzf.

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

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

sudo dnf -y install liblzf-devel

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

sudo yum -y install liblzf-devel

How To Uninstall liblzf-devel on Rocky Linux 8

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

sudo dnf remove liblzf-devel

liblzf-devel Package Contents on Rocky Linux 8

/usr/include/lzf.h
/usr/include/lzfP.h
/usr/lib64/liblzf.so
/usr/lib64/pkgconfig/liblzf.pc

References

Summary

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