How To Install printer-driver-postscript-hp on Debian 9
Introduction
In this tutorial we learn how to install printer-driver-postscript-hp
on Debian 9.
What is printer-driver-postscript-hp
printer-driver-postscript-hp is:
The HP Linux Printing and Imaging System provides full support for printing on most HP SFP (single function peripheral) inkjets and many LaserJets, and for scanning, sending faxes and for photo-card access on most HP MFP (multi-function peripheral) printers.
This package contains the compressed PPDs for the PostScript HP Printers.
There are three methods to install printer-driver-postscript-hp
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-postscript-hp 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-postscript-hp
using apt-get
by running the following command:
sudo apt-get -y install printer-driver-postscript-hp
Install printer-driver-postscript-hp Using apt
Update apt database with apt
using the following command.
sudo apt update
After updating apt database, We can install printer-driver-postscript-hp
using apt
by running the following command:
sudo apt -y install printer-driver-postscript-hp
Install printer-driver-postscript-hp 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-postscript-hp
using aptitude
by running the following command:
sudo aptitude -y install printer-driver-postscript-hp
How To Uninstall printer-driver-postscript-hp on Debian 9
To uninstall only the printer-driver-postscript-hp
package we can use the following command:
sudo apt-get remove printer-driver-postscript-hp
Uninstall printer-driver-postscript-hp And Its Dependencies
To uninstall printer-driver-postscript-hp
and its dependencies that are no longer needed by Debian 9, we can use the command below:
sudo apt-get -y autoremove printer-driver-postscript-hp
Remove printer-driver-postscript-hp Configurations and Data
To remove printer-driver-postscript-hp
configuration and data from Debian 9 we can use the following command:
sudo apt-get -y purge printer-driver-postscript-hp
Remove printer-driver-postscript-hp configuration, data, and all of its dependencies
We can use the following command to remove printer-driver-postscript-hp
configurations, data and all of its dependencies, we can use the following command:
sudo apt-get -y autoremove --purge printer-driver-postscript-hp
Dependencies
printer-driver-postscript-hp have the following dependencies:
References
Summary
In this tutorial we learn how to install printer-driver-postscript-hp
package on Debian 9 using different package management tools: apt
, apt-get
and aptitude
.