How To Install libpaper1 on Debian 9

In this tutorial we learn how to install libpaper1 on Debian 9. libpaper1 is library for handling paper characteristics

Introduction

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

What is libpaper1

libpaper1 is:

The libpaper paper-handling library automates recognition of many different paper types and sizes for programs that need to deal with printed output.

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

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

sudo apt-get update

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

sudo apt-get -y install libpaper1

Install libpaper1 Using apt

Update apt database with apt using the following command.

sudo apt update

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

sudo apt -y install libpaper1

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

sudo aptitude -y install libpaper1

How To Uninstall libpaper1 on Debian 9

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

sudo apt-get remove libpaper1

Uninstall libpaper1 And Its Dependencies

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

sudo apt-get -y autoremove libpaper1

Remove libpaper1 Configurations and Data

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

sudo apt-get -y purge libpaper1

Remove libpaper1 configuration, data, and all of its dependencies

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

sudo apt-get -y autoremove --purge libpaper1

Dependencies

libpaper1 have the following dependencies:

References

Summary

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