How To Install libcompress-snappy-perl on Kali Linux

In this tutorial we learn how to install libcompress-snappy-perl on Kali Linux. libcompress-snappy-perl is Perl interface to Googles Snappy (de)compressor

Introduction

In this tutorial we learn how to install libcompress-snappy-perl on Kali Linux.

What is libcompress-snappy-perl

libcompress-snappy-perl is:

The Compress::Snappy module provides an interface to Google’s Snappy (de)compressor.

Snappy does not aim for maximum compression, or compatibility with any other compression library; instead, it aims for very high speeds and reasonable compression. For instance, compared to the fastest mode of zlib, Snappy is an order of magnitude faster for most inputs, but the resulting compressed files are anywhere from 20% to 100% bigger.

There are three methods to install libcompress-snappy-perl 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 libcompress-snappy-perl Using apt-get

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

sudo apt-get update

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

sudo apt-get -y install libcompress-snappy-perl

Install libcompress-snappy-perl Using apt

Update apt database with apt using the following command.

sudo apt update

After updating apt database, We can install libcompress-snappy-perl using apt by running the following command:

sudo apt -y install libcompress-snappy-perl

Install libcompress-snappy-perl 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 libcompress-snappy-perl using aptitude by running the following command:

sudo aptitude -y install libcompress-snappy-perl

How To Uninstall libcompress-snappy-perl on Kali Linux

To uninstall only the libcompress-snappy-perl package we can use the following command:

sudo apt-get remove libcompress-snappy-perl

Uninstall libcompress-snappy-perl And Its Dependencies

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

sudo apt-get -y autoremove libcompress-snappy-perl

Remove libcompress-snappy-perl Configurations and Data

To remove libcompress-snappy-perl configuration and data from Kali Linux we can use the following command:

sudo apt-get -y purge libcompress-snappy-perl

Remove libcompress-snappy-perl configuration, data, and all of its dependencies

We can use the following command to remove libcompress-snappy-perl configurations, data and all of its dependencies, we can use the following command:

sudo apt-get -y autoremove --purge libcompress-snappy-perl

Dependencies

libcompress-snappy-perl have the following dependencies:

References

Summary

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