How To Install acpid on Kali Linux
Introduction
In this tutorial we learn how to install acpid on Kali Linux.
What is acpid
acpid is:
Modern computers support the Advanced Configuration and Power Interface (ACPI) to allow intelligent power management on your system and to query battery and configuration status.
ACPID is a completely flexible, totally extensible daemon for delivering ACPI events. It listens on netlink interface (or on the deprecated file /proc/acpi/event), and when an event occurs, executes programs to handle the event. The programs it executes are configured through a set of configuration files, which can be dropped into place by packages or by the admin.
There are three methods to install acpid 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 acpid Using apt-get
Update apt database with apt-get using the following command.
sudo apt-get updateAfter updating apt database, We can install acpid using apt-get by running the following command:
sudo apt-get -y install acpidInstall acpid Using apt
Update apt database with apt using the following command.
sudo apt updateAfter updating apt database, We can install acpid using apt by running the following command:
sudo apt -y install acpidInstall acpid 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 acpid using aptitude by running the following command:
sudo aptitude -y install acpidHow To Uninstall acpid on Kali Linux
To uninstall only the acpid package we can use the following command:
sudo apt-get remove acpidUninstall acpid And Its Dependencies
To uninstall acpid and its dependencies that are no longer needed by Kali Linux, we can use the command below:
sudo apt-get -y autoremove acpidRemove acpid Configurations and Data
To remove acpid configuration and data from Kali Linux we can use the following command:
sudo apt-get -y purge acpidRemove acpid configuration, data, and all of its dependencies
We can use the following command to remove acpid configurations, data and all of its dependencies, we can use the following command:
sudo apt-get -y autoremove --purge acpidDependencies
acpid have the following dependencies:
References
Summary
In this tutorial we learn how to install acpid package on Kali Linux using different package management tools: apt, apt-get and aptitude.