How To Install hpijs-ppds on Ubuntu 18.04

In this tutorial we learn how to install hpijs-ppds on Ubuntu 18.04. hpijs-ppds is HP Linux Printing and Imaging - HPIJS PPD files

Introduction

In this tutorial we learn how to install hpijs-ppds on Ubuntu 18.04.

What is hpijs-ppds

hpijs-ppds is:

This package contains PPD (printer definition) files for the printers supported through the HP Linux Printing and Imaging System HPIJS driver.

These PPDs should work well with the matching versions of HPLIP and HPIJS, but may not be the most up-to-date PPDs available for a given printer. See http://www.openprinting.org/ for the latest version of the PPDs (which are not guaranteed to work well).

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

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

sudo apt-get update

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

sudo apt-get -y install hpijs-ppds

Install hpijs-ppds Using apt

Update apt database with apt using the following command.

sudo apt update

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

sudo apt -y install hpijs-ppds

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

sudo aptitude -y install hpijs-ppds

How To Uninstall hpijs-ppds on Ubuntu 18.04

To uninstall only the hpijs-ppds package we can use the following command:

sudo apt-get remove hpijs-ppds

Uninstall hpijs-ppds And Its Dependencies

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

sudo apt-get -y autoremove hpijs-ppds

Remove hpijs-ppds Configurations and Data

To remove hpijs-ppds configuration and data from Ubuntu 18.04 we can use the following command:

sudo apt-get -y purge hpijs-ppds

Remove hpijs-ppds configuration, data, and all of its dependencies

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

sudo apt-get -y autoremove --purge hpijs-ppds

References

Summary

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