How To Install libio-compress-perl on Debian 10

Learn how to install libio-compress-perl on Debian 10 with this tutorial. libio-compress-perl is bundle of IO

Introduction

In this tutorial we learn how to install libio-compress-perl on Debian 10.

What is libio-compress-perl

libio-compress-perl is:

This package contains the following IO::Compress and IO::Uncompress modules:

  • Compress::Zlib
  • IO::Compress::Base
  • IO::Compress::Bzip2
  • IO::Compress::Deflate
  • IO::Compress::Gzip
  • IO::Compress::RawDeflate
  • IO::Compress::Zip
  • IO::Uncompress::Base
  • IO::Uncompress::Bunzip2
  • IO::Uncompress::Gunzip
  • IO::Uncompress::Inflate
  • IO::Uncompress::RawInflate
  • IO::Uncompress::Unzip

Compress::Zlib is a Perl external module which provides an interface to the info-zip zlib compression library. zlib is a general purpose compression library.

Some of the features provided by Compress::Zlib include:

* in-memory compression and decompression
* read and write gzip (.gz) files directly.

IO::Compress::Bunzip2 and IO::Uncompress::Bunzip2 provide a Perl interface that allows transparent reading and writing bzip2 compressed data to files or buffers.

IO::Compress::Base is the base class for all IO::Compress and IO::Uncompress modules. It is not intended for direct use in application code. Its sole purpose is to be sub-classed by IO::Compress modules.

There are three methods to install libio-compress-perl on Debian 10. We can use apt-get, apt and aptitude. In the following sections we will describe each method. You can choose one of them.

Install libio-compress-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 libio-compress-perl using apt-get by running the following command:

sudo apt-get -y install libio-compress-perl

Install libio-compress-perl Using apt

Update apt database with apt using the following command.

sudo apt update

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

sudo apt -y install libio-compress-perl

Install libio-compress-perl Using aptitude

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

sudo aptitude update

After updating apt database, We can install libio-compress-perl using aptitude by running the following command:

sudo aptitude -y install libio-compress-perl

How To Uninstall libio-compress-perl on Debian 10

To uninstall only the libio-compress-perl package we can use the following command:

sudo apt-get remove libio-compress-perl

Uninstall libio-compress-perl And Its Dependencies

To uninstall libio-compress-perl and its dependencies that are no longer needed by Debian 10, we can use the command below:

sudo apt-get -y autoremove libio-compress-perl

Remove libio-compress-perl Configurations and Data

To remove libio-compress-perl configuration and data from Debian 10 we can use the following command:

sudo apt-get -y purge libio-compress-perl

Remove libio-compress-perl configuration, data, and all of its dependencies

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

sudo apt-get -y autoremove --purge libio-compress-perl

Dependencies

libio-compress-perl have the following dependencies:

References

Summary

In this tutorial we learn how to install libio-compress-perl package on Debian 10 using different package management tools: apt, apt-get and aptitude.