How do you install thinkfan in Qubes?

Hello. How do you install thinkfan in Qubes? I tried rpm -i in dom0, but i got these errors:

rpm -i thinkfan-1.2.2-1.fc35.x86_64.rpm
error: Failed dependencies:
libc.so.6(GLIBC_2.32)(64bit) is needed by thinkfan-1.2.2-1.fc35.x86_64
libc.so.6(GLIBC_2.33)(64bit) is needed by thinkfan-1.2.2-1.fc35.x86_64
libc.so.6(GLIBC_2.34)(64bit) is needed by thinkfan-1.2.2-1.fc35.x86_64
libstdc++.so.6(CXXABI_1.3.13)(64bit) is needed by thinkfan-1.2.2-1.fc35.x86_64
libstdc++.so.6(GLIBCXX_3.4.26)(64bit) is needed by thinkfan-1.2.2-1.fc35.x86_64
libstdc++.so.6(GLIBCXX_3.4.29)(64bit) is needed by thinkfan-1.2.2-1.fc35.x86_64
libyaml-cpp.so.0.6()(64bit) is needed by thinkfan-1.2.2-1.fc35.x86_64

How can i fix that? And get thinkfan running. These links help me some.
https://wiki.loopback.org/display/KB/Mitigate+annoying+fan+noise+on+Tinkpad+running+Qubes+OS

Also… If qubes had the newest version of fedora as dom0 and not an old one, maybe this issue could been avoided overall? How can i update the dependencies?
Thanks!

qubes-dom0-update thinkfan
Run it just the same way you would on any Fedora system.

2 Likes

Much appreciated! So is this the way to install in dom0 then? Not rpm -i. I followed the wrong directions online earlier… This worked brilliant. Many thanks! I need to read the manual sometime. Thinkfan is up and running now thanks to your help. I’m new in fedora and linux.

It’s almost always the right way to install in to dom0 - because dom0
has no network access, qubes-dom0-update proxies rpm commands to an
updateVM which fetches the packages, and passes them back to dom0 for
processing.
It’s also a way to update dom0 at the command line - better to use the
Updater tool.

If this is the first time you are using thinkfan, you will likely need to
do some tweaking of the config file at /etc/thinkfan.conf : to make
sure you are using the right monitors, and that your thresholds are
sensible.

2 Likes

Great. Thanks unman! I did set it all up. I just needed help with installing it mostly. Thanks again! I will remember this. How to install in dom0.

Relevant documentation:

1 Like