How To Install mbpfan on Kali Linux
Introduction
In this tutorial we learn how to install mbpfan on Kali Linux.
What is mbpfan
mbpfan is:
mbpfan is a daemon that uses input from coretemp module and sets the fan speed using the applesmc module. This enhanced version assumes any number of processors and fans (max. 10).
- It only uses the temperatures from the processors as input.
- It requires coretemp and applesmc kernel modules to be loaded.
- It requires root use
- It daemonizes or stays in foreground
- Verbose mode for both syslog and stdout
- Users can configure it using the file /etc/mbpfan.conf
There are three methods to install mbpfan 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 mbpfan Using apt-get
Update apt database with apt-get using the following command.
sudo apt-get updateAfter updating apt database, We can install mbpfan using apt-get by running the following command:
sudo apt-get -y install mbpfanInstall mbpfan Using apt
Update apt database with apt using the following command.
sudo apt updateAfter updating apt database, We can install mbpfan using apt by running the following command:
sudo apt -y install mbpfanInstall mbpfan 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 mbpfan using aptitude by running the following command:
sudo aptitude -y install mbpfanHow To Uninstall mbpfan on Kali Linux
To uninstall only the mbpfan package we can use the following command:
sudo apt-get remove mbpfanUninstall mbpfan And Its Dependencies
To uninstall mbpfan and its dependencies that are no longer needed by Kali Linux, we can use the command below:
sudo apt-get -y autoremove mbpfanRemove mbpfan Configurations and Data
To remove mbpfan configuration and data from Kali Linux we can use the following command:
sudo apt-get -y purge mbpfanRemove mbpfan configuration, data, and all of its dependencies
We can use the following command to remove mbpfan configurations, data and all of its dependencies, we can use the following command:
sudo apt-get -y autoremove --purge mbpfanDependencies
mbpfan have the following dependencies:
References
Summary
In this tutorial we learn how to install mbpfan package on Kali Linux using different package management tools: apt, apt-get and aptitude.