How To Install minilzip on Debian 9
Introduction
In this tutorial we learn how to install minilzip on Debian 9.
What is minilzip
minilzip is:
Lzip is a lossless data compressor based on the LZMA algorithm, with very safe integrity checking and a user interface similar to the one of gzip or bzip2. Lzip decompresses almost as fast as gzip and compresses better than bzip2, which makes it well suited for software distribution and data archiving.
Minilzip is a minimal version of lzip using the lzip file format; the files produced by Minilzip are fully compatible with lzip.
Minilzip is intended as a test program for the lzlib library.
There are three methods to install minilzip on Debian 9. We can use apt-get, apt and aptitude. In the following sections we will describe each method. You can choose one of them.
Install minilzip Using apt-get
Update apt database with apt-get using the following command.
sudo apt-get update
After updating apt database, We can install minilzip using apt-get by running the following command:
sudo apt-get -y install minilzip
Install minilzip Using apt
Update apt database with apt using the following command.
sudo apt update
After updating apt database, We can install minilzip using apt by running the following command:
sudo apt -y install minilzip
Install minilzip 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 minilzip using aptitude by running the following command:
sudo aptitude -y install minilzip
How To Uninstall minilzip on Debian 9
To uninstall only the minilzip package we can use the following command:
sudo apt-get remove minilzip
Uninstall minilzip And Its Dependencies
To uninstall minilzip and its dependencies that are no longer needed by Debian 9, we can use the command below:
sudo apt-get -y autoremove minilzip
Remove minilzip Configurations and Data
To remove minilzip configuration and data from Debian 9 we can use the following command:
sudo apt-get -y purge minilzip
Remove minilzip configuration, data, and all of its dependencies
We can use the following command to remove minilzip configurations, data and all of its dependencies, we can use the following command:
sudo apt-get -y autoremove --purge minilzip
Dependencies
minilzip have the following dependencies:
References
Summary
In this tutorial we learn how to install minilzip package on Debian 9 using different package management tools: apt, apt-get and aptitude.