How To Install libxmu-dev on Debian 9

In this tutorial we learn how to install libxmu-dev on Debian 9. libxmu-dev is X11 miscellaneous utility library (development headers)

Introduction

In this tutorial we learn how to install libxmu-dev on Debian 9.

What is libxmu-dev

libxmu-dev is:

libXmu provides a set of miscellaneous utility convenience functions for X libraries to use. libXmuu is a lighter-weight version that does not depend on libXt or libXext; for more information, see libxmuu1.

This package contains the development headers for the library found in libxmu6. Non-developers likely have little use for this package.

More information about X.Org can be found at: URL:http://www.X.org

This module can be found at git://anongit.freedesktop.org/git/xorg/lib/libXmu

There are three methods to install libxmu-dev 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 libxmu-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 libxmu-dev using apt-get by running the following command:

sudo apt-get -y install libxmu-dev

Install libxmu-dev Using apt

Update apt database with apt using the following command.

sudo apt update

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

sudo apt -y install libxmu-dev

Install libxmu-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 Debian. Update apt database with aptitude using the following command.

sudo aptitude update

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

sudo aptitude -y install libxmu-dev

How To Uninstall libxmu-dev on Debian 9

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

sudo apt-get remove libxmu-dev

Uninstall libxmu-dev And Its Dependencies

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

sudo apt-get -y autoremove libxmu-dev

Remove libxmu-dev Configurations and Data

To remove libxmu-dev configuration and data from Debian 9 we can use the following command:

sudo apt-get -y purge libxmu-dev

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

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

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

Dependencies

libxmu-dev have the following dependencies:

References

Summary

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