How To Install liblzf on Fedora 34
Introduction
In this tutorial we learn how to install liblzf
on Fedora 34.
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. liblzf 3.6 21.fc34 x86_64 28 k liblzf-3.6-21.fc34.src.rpm fedora Small data compression library http BSD or GPLv2+ 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 Fedora 34. In this tutorial we discuss both methods but you only need to choose one of method to install liblzf.
Install liblzf on Fedora 34 Using dnf
Update yum database with dnf
using the following command.
sudo dnf makecache --refresh
The output should look something like this:
Fedora 34 - x86_64 20 kB/s | 6.6 kB 00:00
Fedora 34 openh264 (From Cisco) - x86_64 1.4 kB/s | 989 B 00:00
Fedora Modular 34 - x86_64 68 kB/s | 6.5 kB 00:00
Fedora 34 - x86_64 - Updates 3.5 kB/s | 6.2 kB 00:01
Fedora Modular 34 - x86_64 - Updates 17 kB/s | 5.9 kB 00:00
Metadata cache created.
After updating yum database, We can install liblzf
using dnf
by running the following command:
sudo dnf -y install liblzf
Install liblzf on Fedora 34 Using yum
Update yum database with yum
using the following command.
sudo yum makecache --refresh
The output should look something like this:
Fedora 34 - x86_64 20 kB/s | 6.6 kB 00:00
Fedora 34 openh264 (From Cisco) - x86_64 1.4 kB/s | 989 B 00:00
Fedora Modular 34 - x86_64 68 kB/s | 6.5 kB 00:00
Fedora 34 - x86_64 - Updates 3.5 kB/s | 6.2 kB 00:01
Fedora Modular 34 - x86_64 - Updates 17 kB/s | 5.9 kB 00:00
Metadata cache created.
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 Fedora 34
To uninstall only the liblzf
package we can use the following command:
sudo dnf remove liblzf
liblzf Package Contents on Fedora 34
/usr/bin/lzf
/usr/bin/unlzf
/usr/lib/.build-id
/usr/lib/.build-id/7d
/usr/lib/.build-id/7d/98f31614a830bf7c50b6a204f9b701112c2c1a
/usr/lib/.build-id/b4
/usr/lib/.build-id/b4/52bc682f23d4be9bc110bf08c0062c981899f0
/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
/usr/bin/lzf
/usr/bin/unlzf
/usr/lib/.build-id
/usr/lib/.build-id/89
/usr/lib/.build-id/89/7e33fa4c592faa0d5319e1c9ab5db8e301ce32
/usr/lib/.build-id/d8
/usr/lib/.build-id/d8/9aad3e7b86bd35837e06b9831701be1873c2a2
/usr/lib/liblzf.so.1
/usr/lib/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
- [liblzf website](http://oldhome.schmorp.de/marc/liblzf.html http://oldhome.schmorp.de/marc/liblzf.html)
Summary
In this tutorial we learn how to install liblzf
on Fedora 34 using yum and dnf.