How To Install liblzf on Rocky Linux 8
Introduction
In this tutorial we learn how to install liblzf
on Rocky Linux 8.
What is liblzf
LibLZF is a very small data compression library. It consists of only two .c and two .h files and is very easy to incorporate into your own programs. The compression algorithm is very, very fast, yet still written in portable C.
We can use yum
or dnf
to install liblzf
on Rocky Linux 8. In this tutorial we discuss both methods but you only need to choose one of method to install liblzf.
Install liblzf 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
using dnf
by running the following command:
sudo dnf -y install liblzf
Install liblzf 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
using yum
by running the following command:
sudo yum -y install liblzf
How To Uninstall liblzf on Rocky Linux 8
To uninstall only the liblzf
package we can use the following command:
sudo dnf remove liblzf
liblzf Package Contents on Rocky Linux 8
/usr/bin/lzf
/usr/bin/unlzf
/usr/lib/.build-id
/usr/lib/.build-id/a2
/usr/lib/.build-id/a2/85803c4ad81c730aaafa3f5fd4c40a42c4f850
/usr/lib/.build-id/f1
/usr/lib/.build-id/f1/fdc298fc57f462e4c09f5302a90af5da1875de
/usr/lib64/liblzf.so.1
/usr/lib64/liblzf.so.1.0.0
/usr/share/doc/liblzf
/usr/share/doc/liblzf/Changes
/usr/share/doc/liblzf/LICENSE
/usr/share/doc/liblzf/README
/usr/share/doc/liblzf/cs
/usr/share/doc/liblzf/cs/CLZF.cs
/usr/share/doc/liblzf/cs/README
References
Summary
In this tutorial we learn how to install liblzf
on Rocky Linux 8 using yum and dnf.