How To Install unpaper on Debian 10

Learn how to install unpaper on Debian 10 with this tutorial. unpaper is post-processing tool for scanned pages

Introduction

In this tutorial we learn how to install unpaper on Debian 10.

What is unpaper

unpaper is:

unpaper is a post-processing tool for scanned sheets of paper, especially for book pages that have been scanned from previously created photocopies.

The main purpose is to make scanned book pages better readable on screen after conversion to PDF. Additionally, unpaper might be useful to enhance the quality of scanned pages before performing optical character recognition (OCR).

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

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

sudo apt-get update

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

sudo apt-get -y install unpaper

Install unpaper Using apt

Update apt database with apt using the following command.

sudo apt update

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

sudo apt -y install unpaper

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

sudo aptitude -y install unpaper

How To Uninstall unpaper on Debian 10

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

sudo apt-get remove unpaper

Uninstall unpaper And Its Dependencies

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

sudo apt-get -y autoremove unpaper

Remove unpaper Configurations and Data

To remove unpaper configuration and data from Debian 10 we can use the following command:

sudo apt-get -y purge unpaper

Remove unpaper configuration, data, and all of its dependencies

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

sudo apt-get -y autoremove --purge unpaper

Dependencies

unpaper have the following dependencies:

References

Summary

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