How To Install batmon.app on Ubuntu 20.04

In this tutorial we learn how to install batmon.app on Ubuntu 20.04. batmon.app is Battery monitor for GNUstep

Introduction

In this tutorial we learn how to install batmon.app on Ubuntu 20.04.

What is batmon.app

batmon.app is:

Battery Monitor is a battery monitor for laptops. It displays the current status of the battery (charge/discharge and energy level) as well as some information about the general health of the cell.

There are three methods to install batmon.app on Ubuntu 20.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 batmon.app Using apt-get

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

sudo apt-get update

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

sudo apt-get -y install batmon.app

Install batmon.app Using apt

Update apt database with apt using the following command.

sudo apt update

After updating apt database, We can install batmon.app using apt by running the following command:

sudo apt -y install batmon.app

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

sudo aptitude -y install batmon.app

How To Uninstall batmon.app on Ubuntu 20.04

To uninstall only the batmon.app package we can use the following command:

sudo apt-get remove batmon.app

Uninstall batmon.app And Its Dependencies

To uninstall batmon.app and its dependencies that are no longer needed by Ubuntu 20.04, we can use the command below:

sudo apt-get -y autoremove batmon.app

Remove batmon.app Configurations and Data

To remove batmon.app configuration and data from Ubuntu 20.04 we can use the following command:

sudo apt-get -y purge batmon.app

Remove batmon.app configuration, data, and all of its dependencies

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

sudo apt-get -y autoremove --purge batmon.app

References

Summary

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