How To Install fdpowermon on Kali Linux
Introduction
In this tutorial we learn how to install fdpowermon on Kali Linux.
What is fdpowermon
fdpowermon is:
fdpowermon is a simple perl script that installs an icon in a system tray compatible with the freedesktop.org specification.
Every three seconds, fdpowermon calls acpi to find out what the current battery level is. It will set the output of the acpi command as a tooltip text, and will update the used icon as appropriate.
In addition, fdpowermon can optionally call perl subroutines when the power reaches a given level. No such subroutines are provided or enabled by default, however.
There are three methods to install fdpowermon on Kali Linux. We can use apt-get, apt and aptitude. In the following sections we will describe each method. You can choose one of them.
Install fdpowermon Using apt-get
Update apt database with apt-get using the following command.
sudo apt-get updateAfter updating apt database, We can install fdpowermon using apt-get by running the following command:
sudo apt-get -y install fdpowermonInstall fdpowermon Using apt
Update apt database with apt using the following command.
sudo apt updateAfter updating apt database, We can install fdpowermon using apt by running the following command:
sudo apt -y install fdpowermonInstall fdpowermon Using aptitude
If you want to follow this method, you might need to install aptitude on Kali Linux first since aptitude is usually not installed by default on Kali Linux. Update apt database with aptitude using the following command.
sudo aptitude updateAfter updating apt database, We can install fdpowermon using aptitude by running the following command:
sudo aptitude -y install fdpowermonHow To Uninstall fdpowermon on Kali Linux
To uninstall only the fdpowermon package we can use the following command:
sudo apt-get remove fdpowermonUninstall fdpowermon And Its Dependencies
To uninstall fdpowermon and its dependencies that are no longer needed by Kali Linux, we can use the command below:
sudo apt-get -y autoremove fdpowermonRemove fdpowermon Configurations and Data
To remove fdpowermon configuration and data from Kali Linux we can use the following command:
sudo apt-get -y purge fdpowermonRemove fdpowermon configuration, data, and all of its dependencies
We can use the following command to remove fdpowermon configurations, data and all of its dependencies, we can use the following command:
sudo apt-get -y autoremove --purge fdpowermonDependencies
fdpowermon have the following dependencies:
References
Summary
In this tutorial we learn how to install fdpowermon package on Kali Linux using different package management tools: apt, apt-get and aptitude.