How To Install pct-scanner-scripts on Ubuntu 18.04

In this tutorial we learn how to install pct-scanner-scripts on Ubuntu 18.04. pct-scanner-scripts is scan and create merged DjVu and PDF documents for archiving

Introduction

In this tutorial we learn how to install pct-scanner-scripts on Ubuntu 18.04.

What is pct-scanner-scripts

pct-scanner-scripts is:

This package contains a script and configuration system to easily scan documents and create digital archives. It can create DjVu PDF and JPEG outputs, in merged and individual files. It also has a configuration file system where different configurations can be defined, making it easy to switch between configurations.

Features:

  • auto archiving in merged and individual DjVu, PDF, and JPEG files
  • auto and manual resume when scanning somehow fails
  • cascading configuration system, for easy customizing
  • easy command-line-style bash program, with useful options
  • archiving made possible with both ADF and flatbed scanners
  • built for productivity and daily use
  • uses bash, scanadf and other mainstream processing tools
  • multilanguage commandline output

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

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

sudo apt-get update

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

sudo apt-get -y install pct-scanner-scripts

Install pct-scanner-scripts Using apt

Update apt database with apt using the following command.

sudo apt update

After updating apt database, We can install pct-scanner-scripts using apt by running the following command:

sudo apt -y install pct-scanner-scripts

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

sudo aptitude -y install pct-scanner-scripts

How To Uninstall pct-scanner-scripts on Ubuntu 18.04

To uninstall only the pct-scanner-scripts package we can use the following command:

sudo apt-get remove pct-scanner-scripts

Uninstall pct-scanner-scripts And Its Dependencies

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

sudo apt-get -y autoremove pct-scanner-scripts

Remove pct-scanner-scripts Configurations and Data

To remove pct-scanner-scripts configuration and data from Ubuntu 18.04 we can use the following command:

sudo apt-get -y purge pct-scanner-scripts

Remove pct-scanner-scripts configuration, data, and all of its dependencies

We can use the following command to remove pct-scanner-scripts configurations, data and all of its dependencies, we can use the following command:

sudo apt-get -y autoremove --purge pct-scanner-scripts

References

Summary

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