How To Install libslz on Fedora 34

libslz is StateLess Zip StateLess Zip

Introduction

In this tutorial we learn how to install libslz on Fedora 34.

What is libslz

SLZ is a fast and memory-less stream compressor which produces an output that can be decompressed with zlib or gzip. It does not implement decompression at all, zlib is perfectly fine for this. The purpose is to use SLZ in situations where a zlib-compatible stream is needed and zlib’s resource usage would be too high while the compression ratio is not critical. The typical use case is in HTTP servers and gateways which have to compress many streams in parallel with little CPU resources to assign to this task, and without having to limit the compression ratio due to the memory usage. In such an environment, the server’s memory usage can easily be divided by 10 and the CPU usage by 3. libslz 1.2.0 3.fc34 x86_64 62 k libslz-1.2.0-3.fc34.src.rpm fedora StateLess Zip http MIT SLZ is a fast and memory-less stream compressor which produces an output that can be decompressed with zlib or gzip. It does not implement decompression at all, zlib is perfectly fine for this. The purpose is to use SLZ in situations where a zlib-compatible stream is needed and zlib’s resource usage would be too high while the compression ratio is not critical. The typical use case is in HTTP servers and gateways which have to compress many streams in parallel with little CPU resources to assign to this task, and without having to limit the compression ratio due to the memory usage. In such an environment, the server’s memory usage can easily be divided by 10 and the CPU usage by 3.

We can use yum or dnf to install libslz on Fedora 34. In this tutorial we discuss both methods but you only need to choose one of method to install libslz.

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

sudo dnf -y install libslz

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

sudo yum -y install libslz

How To Uninstall libslz on Fedora 34

To uninstall only the libslz package we can use the following command:

sudo dnf remove libslz

libslz Package Contents on Fedora 34

/usr/lib/.build-id
/usr/lib/.build-id/6c
/usr/lib/.build-id/6c/fec6499f233b74c43f483a64d125a512de9717
/usr/lib/libslz.so.1
/usr/share/doc/libslz
/usr/share/doc/libslz/README
/usr/share/licenses/libslz
/usr/share/licenses/libslz/LICENSE
/usr/lib/.build-id
/usr/lib/.build-id/c2
/usr/lib/.build-id/c2/0964883247dbb259b8bdee4f757fea05f9c090
/usr/lib64/libslz.so.1
/usr/share/doc/libslz
/usr/share/doc/libslz/README
/usr/share/licenses/libslz
/usr/share/licenses/libslz/LICENSE

References

Summary

In this tutorial we learn how to install libslz on Fedora 34 using yum and dnf.