How To Install zmat on Fedora 36

In this tutorial we learn how to install zmat in Fedora 36. zmat is An easy-to-use data compression library

Introduction

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

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.

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

Install zmat on Fedora 36 Using dnf

Update yum database with dnf using the following command.

sudo dnf makecache --refresh

After updating yum database, We can install zmat using dnf by running the following command:

sudo dnf -y install zmat

Install zmat on Fedora 36 Using yum

Update yum database with yum using the following command.

sudo yum makecache --refresh

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 36

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

sudo dnf remove zmat

zmat Package Contents on Fedora 36

---
title: "How To Install zmat on Fedora 36"
linkTitle: "zmat"
type: "docs"
description: "In this tutorial we learn how to install zmat in Fedora 36. zmat is An easy-to-use data compression library"
date: "2022-08-17"
lastmod: "2022-08-17"
#image: /images/fedora/36/zmat-featured.png
---

## Introduction

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

### 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.  

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

## Install zmat on Fedora 36 Using dnf

Update yum database with `dnf` using the following command.

```bash
sudo dnf makecache --refresh

After updating yum database, We can install zmat using dnf by running the following command:

sudo dnf -y install zmat

Install zmat on Fedora 36 Using yum

Update yum database with yum using the following command.

sudo yum makecache --refresh

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 36

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

sudo dnf remove zmat

zmat Package Contents on Fedora 36

/usr/lib/.build-id /usr/lib/.build-id/66 /usr/lib/.build-id/66/27281286f4b885624f88b874e71de32620eb40 /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

References

Summary

In this tutorial we learn how to install zmat on Fedora 36 using yum and [dnf]((/fedora/36/dnf/).

/usr/lib/.build-id /usr/lib/.build-id/7b /usr/lib/.build-id/7b/339437cff724ffbfa486a69717691e93cf9bd3 /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

* [zmat website](https://github.com/fangq/zmat)

## Summary

In this tutorial we learn how to install `zmat` on [Fedora 36](/fedora/36/) using [yum](/fedora/36/yum/) and [dnf]((/fedora/36/dnf/).