How To Install libzmat1 on Kali Linux

In this tutorial we learn how to install libzmat1 on Kali Linux. libzmat1 is compression library - runtime

Introduction

In this tutorial we learn how to install libzmat1 on Kali Linux.

What is libzmat1

libzmat1 is:

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.

There are three methods to install libzmat1 on Kali Linux. We can use apt-get, apt and aptitude. In the following sections we will describe each method. You can choose one of them.

Install libzmat1 Using apt-get

Update apt database with apt-get using the following command.

sudo apt-get update

After updating apt database, We can install libzmat1 using apt-get by running the following command:

sudo apt-get -y install libzmat1

Install libzmat1 Using apt

Update apt database with apt using the following command.

sudo apt update

After updating apt database, We can install libzmat1 using apt by running the following command:

sudo apt -y install libzmat1

Install libzmat1 Using aptitude

If you want to follow this method, you might need to install aptitude on Kali Linux first since aptitude is usually not installed by default on Kali Linux. Update apt database with aptitude using the following command.

sudo aptitude update

After updating apt database, We can install libzmat1 using aptitude by running the following command:

sudo aptitude -y install libzmat1

How To Uninstall libzmat1 on Kali Linux

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

sudo apt-get remove libzmat1

Uninstall libzmat1 And Its Dependencies

To uninstall libzmat1 and its dependencies that are no longer needed by Kali Linux, we can use the command below:

sudo apt-get -y autoremove libzmat1

Remove libzmat1 Configurations and Data

To remove libzmat1 configuration and data from Kali Linux we can use the following command:

sudo apt-get -y purge libzmat1

Remove libzmat1 configuration, data, and all of its dependencies

We can use the following command to remove libzmat1 configurations, data and all of its dependencies, we can use the following command:

sudo apt-get -y autoremove --purge libzmat1

Dependencies

libzmat1 have the following dependencies:

References

Summary

In this tutorial we learn how to install libzmat1 package on Kali Linux using different package management tools: apt, apt-get and aptitude.