How To Install mbpfan on Debian 12
Introduction
In this tutorial we learn how to install mbpfan on Debian 12.
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 Debian 12. 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 update
After updating apt database, We can install mbpfan using apt-get by running the following command:
sudo apt-get -y install mbpfan
Install mbpfan Using apt
Update apt database with apt using the following command.
sudo apt update
After updating apt database, We can install mbpfan using apt by running the following command:
sudo apt -y install mbpfan
Install mbpfan 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 Debian. Update apt database with aptitude using the following command.
sudo aptitude update
After updating apt database, We can install mbpfan using aptitude by running the following command:
sudo aptitude -y install mbpfan
How To Uninstall mbpfan on Debian 12
To uninstall only the mbpfan package we can use the following command:
sudo apt-get remove mbpfan
Uninstall mbpfan And Its Dependencies
To uninstall mbpfan and its dependencies that are no longer needed by Debian 12, we can use the command below:
sudo apt-get -y autoremove mbpfan
Remove mbpfan Configurations and Data
To remove mbpfan configuration and data from Debian 12 we can use the following command:
sudo apt-get -y purge mbpfan
Remove 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 mbpfan
Dependencies
mbpfan have the following dependencies:
References
Summary
In this tutorial we learn how to install mbpfan package on Debian 12 using different package management tools: apt, apt-get and aptitude.