How To Install printer-driver-postscript-hp on Ubuntu 20.04

In this tutorial we learn how to install printer-driver-postscript-hp on Ubuntu 20.04. printer-driver-postscript-hp is HP Printers PostScript Descriptions

Introduction

In this tutorial we learn how to install printer-driver-postscript-hp on Ubuntu 20.04.

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 and the hpps filter. Task: ubuntu-desktop-minimal, ubuntu-desktop, kubuntu-desktop, xubuntu-core, xubuntu-desktop, lubuntu-desktop, ubuntustudio-desktop-core, ubuntustudio-desktop, ubuntukylin-desktop, ubuntu-mate-core, ubuntu-mate-desktop, ubuntu-budgie-desktop

There are three methods to install printer-driver-postscript-hp on Ubuntu 20.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 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 Ubuntu. 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 Ubuntu 20.04

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 Ubuntu 20.04, 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 Ubuntu 20.04 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

References

Summary

In this tutorial we learn how to install printer-driver-postscript-hp package on Ubuntu 20.04 using different package management tools: apt, apt-get and aptitude.