How To Install zmat on Fedora 34

zmat is An easy-to-use data compression library An easy-to-use data compression library

Introduction

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

What is zmat

ZMat is a portable C library to enable easy-to-use data compression and decompression (such as zlib/gzip/lzma/lzip/lz4/lz4hc algorithms) and base64 encoding/decoding in an application. It is fast and compact, can process a large array within a fraction of a second. Among the supported compression methods, lz4 is the fastest for compression/decompression; lzma is the slowest but has the highest compression ratio; zlib/gzip have the best balance between speed and compression time. zmat 0.9.8 6.fc34 x86_64 106 k zmat-0.9.8-6.fc34.src.rpm fedora An easy-to-use data compression library https GPLv3+ ZMat is a portable C library to enable easy-to-use data compression and decompression (such as zlib/gzip/lzma/lzip/lz4/lz4hc algorithms) and base64 encoding/decoding in an application. It is fast and compact, can process a large array within a fraction of a second. Among the supported compression methods, lz4 is the fastest for compression/decompression; lzma is the slowest but has the highest compression ratio; zlib/gzip have the best balance between speed and compression time.

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

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

sudo dnf -y install zmat

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

sudo yum -y install zmat

How To Uninstall zmat on Fedora 34

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

sudo dnf remove zmat

zmat Package Contents on Fedora 34

/usr/lib/.build-id
/usr/lib/.build-id/a9
/usr/lib/.build-id/a9/f2d0fb86a2f3cee9984cc5f7e1d380e383f4c8
/usr/lib64/libzmat.so.0.9.8
/usr/lib64/libzmat.so.1
/usr/share/doc/zmat
/usr/share/doc/zmat/AUTHORS.txt
/usr/share/doc/zmat/ChangeLog.txt
/usr/share/doc/zmat/README.rst
/usr/share/licenses/zmat
/usr/share/licenses/zmat/LICENSE.txt
/usr/lib/.build-id
/usr/lib/.build-id/cc
/usr/lib/.build-id/cc/16e8c124a310d59d8e8f90c7d82b3d2e2bcb1c
/usr/lib/libzmat.so.0.9.8
/usr/lib/libzmat.so.1
/usr/share/doc/zmat
/usr/share/doc/zmat/AUTHORS.txt
/usr/share/doc/zmat/ChangeLog.txt
/usr/share/doc/zmat/README.rst
/usr/share/licenses/zmat
/usr/share/licenses/zmat/LICENSE.txt

References

Summary

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