How To Install libhpmud-dev on Ubuntu 18.04

In this tutorial we learn how to install libhpmud-dev on Ubuntu 18.04. libhpmud-dev is HP Multi-Point Transport Driver (hpmud) development libraries

Introduction

In this tutorial we learn how to install libhpmud-dev on Ubuntu 18.04.

What is libhpmud-dev

libhpmud-dev 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.

Shared library that provides direct I/O for each process. Prior to hpmud, all I/O was serialized through hpiod, a monolithic I/O processor. The new hpmud direct I/O is faster. Hpmud supports parallel, USB and JetDirect connectivity.

With hpmud, HPLIP no longer has Linux specific libusb extensions. This means any UNIX/Linux derivative that supports libusb may work with HPLIP. A public HPLIP “C” API is exposed through hpmud. See hpmud.h for documentation. A Python wrapper for hpmud, called hpmudext, is also available.

This package contains the development headers necessary if you wish to build packages depending on libhpmud.

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

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

sudo apt-get update

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

sudo apt-get -y install libhpmud-dev

Install libhpmud-dev Using apt

Update apt database with apt using the following command.

sudo apt update

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

sudo apt -y install libhpmud-dev

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

sudo aptitude -y install libhpmud-dev

How To Uninstall libhpmud-dev on Ubuntu 18.04

To uninstall only the libhpmud-dev package we can use the following command:

sudo apt-get remove libhpmud-dev

Uninstall libhpmud-dev And Its Dependencies

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

sudo apt-get -y autoremove libhpmud-dev

Remove libhpmud-dev Configurations and Data

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

sudo apt-get -y purge libhpmud-dev

Remove libhpmud-dev configuration, data, and all of its dependencies

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

sudo apt-get -y autoremove --purge libhpmud-dev

References

Summary

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