How To Install pypar2 on Debian 9

In this tutorial we learn how to install pypar2 on Debian 9. pypar2 is graphical frontend for the par2 utility

Introduction

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

What is pypar2

pypar2 is:

Par2 files create redundant data that can be used later in case parts of the original data is lost or corrupted.

PyPar2 is a graphical frontend for the par2 command line utility, it is designed to be very easy to use. For this reason:

  • Advanced settings are present, but hidden by default.
  • There is no preferences dialog, all selected options are automatically saved and restored.

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

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

sudo apt-get update

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

sudo apt-get -y install pypar2

Install pypar2 Using apt

Update apt database with apt using the following command.

sudo apt update

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

sudo apt -y install pypar2

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

sudo aptitude -y install pypar2

How To Uninstall pypar2 on Debian 9

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

sudo apt-get remove pypar2

Uninstall pypar2 And Its Dependencies

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

sudo apt-get -y autoremove pypar2

Remove pypar2 Configurations and Data

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

sudo apt-get -y purge pypar2

Remove pypar2 configuration, data, and all of its dependencies

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

sudo apt-get -y autoremove --purge pypar2

Dependencies

pypar2 have the following dependencies:

References

Summary

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