How To Install thinkfan on Debian 9
Introduction
In this tutorial we learn how to install thinkfan
on Debian 9.
What is thinkfan
thinkfan is:
Some hardware has a kind of broken fan-control and lets the fan run faster than really needed. Thinkfan will prevent this by controlling the fan on its own (the fan speed for each temperature interval can be adjusted in the configuration file).
Originally designed specifically for IBM/Lenovo Thinkpads, it supports any kind of system via the sysfs hwmon interface. It is designed to eat as little CPU power as possible.
There are three methods to install thinkfan
on Debian 9. We can use apt-get
, apt
and aptitude
. In the following sections we will describe each method. You can choose one of them.
Install thinkfan Using apt-get
Update apt database with apt-get
using the following command.
sudo apt-get update
After updating apt database, We can install thinkfan
using apt-get
by running the following command:
sudo apt-get -y install thinkfan
Install thinkfan Using apt
Update apt database with apt
using the following command.
sudo apt update
After updating apt database, We can install thinkfan
using apt
by running the following command:
sudo apt -y install thinkfan
Install thinkfan 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 thinkfan
using aptitude
by running the following command:
sudo aptitude -y install thinkfan
How To Uninstall thinkfan on Debian 9
To uninstall only the thinkfan
package we can use the following command:
sudo apt-get remove thinkfan
Uninstall thinkfan And Its Dependencies
To uninstall thinkfan
and its dependencies that are no longer needed by Debian 9, we can use the command below:
sudo apt-get -y autoremove thinkfan
Remove thinkfan Configurations and Data
To remove thinkfan
configuration and data from Debian 9 we can use the following command:
sudo apt-get -y purge thinkfan
Remove thinkfan configuration, data, and all of its dependencies
We can use the following command to remove thinkfan
configurations, data and all of its dependencies, we can use the following command:
sudo apt-get -y autoremove --purge thinkfan
Dependencies
thinkfan have the following dependencies:
References
Summary
In this tutorial we learn how to install thinkfan
package on Debian 9 using different package management tools: apt
, apt-get
and aptitude
.