How To Install libxmu-headers on Ubuntu 22.04
Introduction
In this tutorial we learn how to install libxmu-headers
on Ubuntu 22.04.
What is libxmu-headers
libxmu-headers is:
libXmu and libXmuu are miscellaneous utility libraries for X library developers to abstract some common functions. This package provides the headers for both libraries (as libXmuu is a subset of libXmu), and is depended upon by both. For more information, please see libxmu-dev or libxmuu-dev.
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-headers
on Ubuntu 22.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 libxmu-headers 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-headers
using apt-get
by running the following command:
sudo apt-get -y install libxmu-headers
Install libxmu-headers Using apt
Update apt database with apt
using the following command.
sudo apt update
After updating apt database, We can install libxmu-headers
using apt
by running the following command:
sudo apt -y install libxmu-headers
Install libxmu-headers 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 libxmu-headers
using aptitude
by running the following command:
sudo aptitude -y install libxmu-headers
How To Uninstall libxmu-headers on Ubuntu 22.04
To uninstall only the libxmu-headers
package we can use the following command:
sudo apt-get remove libxmu-headers
Uninstall libxmu-headers And Its Dependencies
To uninstall libxmu-headers
and its dependencies that are no longer needed by Ubuntu 22.04, we can use the command below:
sudo apt-get -y autoremove libxmu-headers
Remove libxmu-headers Configurations and Data
To remove libxmu-headers
configuration and data from Ubuntu 22.04 we can use the following command:
sudo apt-get -y purge libxmu-headers
Remove libxmu-headers configuration, data, and all of its dependencies
We can use the following command to remove libxmu-headers
configurations, data and all of its dependencies, we can use the following command:
sudo apt-get -y autoremove --purge libxmu-headers
References
Summary
In this tutorial we learn how to install libxmu-headers
package on Ubuntu 22.04 using different package management tools: apt
, apt-get
and aptitude
.