How To Install printer-driver-pnm2ppa on Debian 9

In this tutorial we learn how to install printer-driver-pnm2ppa on Debian 9. printer-driver-pnm2ppa is printer driver for HP-GDI printers

Introduction

In this tutorial we learn how to install printer-driver-pnm2ppa on Debian 9.

What is printer-driver-pnm2ppa

printer-driver-pnm2ppa is:

Using pnm2ppa it’s possible to run HP-GDI printers on Linux. These printers are normally “Windows-only” and use the PPA protocol which is proprietary. pnm2ppa supports color.

pnm2ppa supports the following printers: HP Deskjet 7XX Series, HP Deskjet 820 Series and HP Deskjet 1000 Series.

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

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

sudo apt-get update

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

sudo apt-get -y install printer-driver-pnm2ppa

Install printer-driver-pnm2ppa Using apt

Update apt database with apt using the following command.

sudo apt update

After updating apt database, We can install printer-driver-pnm2ppa using apt by running the following command:

sudo apt -y install printer-driver-pnm2ppa

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

sudo aptitude -y install printer-driver-pnm2ppa

How To Uninstall printer-driver-pnm2ppa on Debian 9

To uninstall only the printer-driver-pnm2ppa package we can use the following command:

sudo apt-get remove printer-driver-pnm2ppa

Uninstall printer-driver-pnm2ppa And Its Dependencies

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

sudo apt-get -y autoremove printer-driver-pnm2ppa

Remove printer-driver-pnm2ppa Configurations and Data

To remove printer-driver-pnm2ppa configuration and data from Debian 9 we can use the following command:

sudo apt-get -y purge printer-driver-pnm2ppa

Remove printer-driver-pnm2ppa configuration, data, and all of its dependencies

We can use the following command to remove printer-driver-pnm2ppa configurations, data and all of its dependencies, we can use the following command:

sudo apt-get -y autoremove --purge printer-driver-pnm2ppa

Dependencies

printer-driver-pnm2ppa have the following dependencies:

References

Summary

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