How To Install wmdiskmon on Ubuntu 18.04

In this tutorial we learn how to install wmdiskmon on Ubuntu 18.04. wmdiskmon is dockapp to display disk usage

Introduction

In this tutorial we learn how to install wmdiskmon on Ubuntu 18.04.

What is wmdiskmon

wmdiskmon is:

wmdiskmon is a dockapp to monitor disk usage. It can be used with X window managers like Window Maker, AfterStep, BlackBox and Enlightenment.

The dockapp has two modes. The default displays three devices at a time in a bargraph manner. The other displays only one device, but with numeric percentage and a longer name over three lines.

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

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

sudo apt-get update

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

sudo apt-get -y install wmdiskmon

Install wmdiskmon Using apt

Update apt database with apt using the following command.

sudo apt update

After updating apt database, We can install wmdiskmon using apt by running the following command:

sudo apt -y install wmdiskmon

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

sudo aptitude -y install wmdiskmon

How To Uninstall wmdiskmon on Ubuntu 18.04

To uninstall only the wmdiskmon package we can use the following command:

sudo apt-get remove wmdiskmon

Uninstall wmdiskmon And Its Dependencies

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

sudo apt-get -y autoremove wmdiskmon

Remove wmdiskmon Configurations and Data

To remove wmdiskmon configuration and data from Ubuntu 18.04 we can use the following command:

sudo apt-get -y purge wmdiskmon

Remove wmdiskmon configuration, data, and all of its dependencies

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

sudo apt-get -y autoremove --purge wmdiskmon

References

Summary

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