How To Install scantailor on Ubuntu 18.04

In this tutorial we learn how to install scantailor on Ubuntu 18.04. scantailor is interactive post-processing tool for scanned pages

Introduction

In this tutorial we learn how to install scantailor on Ubuntu 18.04.

What is scantailor

scantailor is:

Scan Tailor is an interactive post-processing tool for scanned pages. It performs operations such as page splitting, deskewing, adding/removing borders, and others. You give it raw scans, and you get pages ready to be printed or assembled into a PDF or DJVU file. Scanning, optical character recognition, and assembling multi-page documents are out of scope of this project.

There are three methods to install scantailor on Ubuntu 18.04. We can use apt-get, apt and aptitude. In the following sections we will describe each method. You can choose one of them.

Install scantailor Using apt-get

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

sudo apt-get update

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

sudo apt-get -y install scantailor

Install scantailor Using apt

Update apt database with apt using the following command.

sudo apt update

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

sudo apt -y install scantailor

Install scantailor 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 Ubuntu. Update apt database with aptitude using the following command.

sudo aptitude update

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

sudo aptitude -y install scantailor

How To Uninstall scantailor on Ubuntu 18.04

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

sudo apt-get remove scantailor

Uninstall scantailor And Its Dependencies

To uninstall scantailor and its dependencies that are no longer needed by Ubuntu 18.04, we can use the command below:

sudo apt-get -y autoremove scantailor

Remove scantailor Configurations and Data

To remove scantailor configuration and data from Ubuntu 18.04 we can use the following command:

sudo apt-get -y purge scantailor

Remove scantailor configuration, data, and all of its dependencies

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

sudo apt-get -y autoremove --purge scantailor

References

Summary

In this tutorial we learn how to install scantailor package on Ubuntu 18.04 using different package management tools: apt, apt-get and aptitude.