How To Install libslz on Rocky Linux 8
Introduction
In this tutorial we learn how to install libslz
on Rocky Linux 8.
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.
We can use yum
or dnf
to install libslz
on Rocky Linux 8. In this tutorial we discuss both methods but you only need to choose one of method to install libslz.
Install libslz 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 libslz
using dnf
by running the following command:
sudo dnf -y install libslz
Install libslz 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 libslz
using yum
by running the following command:
sudo yum -y install libslz
How To Uninstall libslz on Rocky Linux 8
To uninstall only the libslz
package we can use the following command:
sudo dnf remove libslz
libslz Package Contents on Rocky Linux 8
/usr/lib/.build-id
/usr/lib/.build-id/6b
/usr/lib/.build-id/6b/7665a92b28dddfb2d05397c94daefca55d4d1d
/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 Rocky Linux 8 using yum and dnf.