How To Install zp on Debian 9

In this tutorial we learn how to install zp on Debian 9. zp is ZPAQ open standard maximum compressor (prebuilt levels)

Introduction

In this tutorial we learn how to install zp on Debian 9.

What is zp

zp is:

PAQ family is a series of open source data compression archivers that have evolved through collaborative development to top rankings on several benchmarks measuring compression ratio although at the expense of speed and memory usage.

This package includes program zp (a ZPAQ archiver), a proposed standard format for highly compressed data that allows new compression algorithms to be developed without breaking compatibility with older programs.

Note: zp is the “user friendly” version of zpaq(1) archiver. Zp comes with 3 prebuilt and optimized compression levels. It does not require configuration file for min, med, max compression levels.

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

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

sudo apt-get update

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

sudo apt-get -y install zp

Install zp Using apt

Update apt database with apt using the following command.

sudo apt update

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

sudo apt -y install zp

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

sudo aptitude -y install zp

How To Uninstall zp on Debian 9

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

sudo apt-get remove zp

Uninstall zp And Its Dependencies

To uninstall zp and its dependencies that are no longer needed by Debian 9, we can use the command below:

sudo apt-get -y autoremove zp

Remove zp Configurations and Data

To remove zp configuration and data from Debian 9 we can use the following command:

sudo apt-get -y purge zp

Remove zp configuration, data, and all of its dependencies

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

sudo apt-get -y autoremove --purge zp

Dependencies

zp have the following dependencies:

References

Summary

In this tutorial we learn how to install zp package on Debian 9 using different package management tools: apt, apt-get and aptitude.