AMP AMP

How to Install Macfanctld On Ubuntu 20.4.1

To Install Macfanctld on Ubuntu 20.4.1

Introduction:

Macfanctld is a daemon that is configurable, logs temp and fan data to a file that reads temperature sensors and adjusts the fan speed on MacBook. It uses the sources to determine the speed of the fan in the average temperature of sensors, sensor TC0P, and the closeness speed. This tutorial covers the installation process of macfanctld in Ubuntu.

Installation Process:

Run lsb_release command to check the installed version of OS as follows. No LSB modules are available. Distributor ID: Ubuntu Description: Ubuntu 20.04.1 LTS Release: 20.04 Codename: focal

To start the installation procedure, add the repo by executing the following command.

root@linuxhelp:~# add-apt-repository ppa:eugenesan/ppa
 This repository contains collection of customized, updated, ported and backported
packages for two last LTS releases and latest pre-LTS release.
Packages for older releases relocated to ppa:eugenesan/archive or deleted.
* Packages in this a nd related PPAs are for personal use only.
  They developed specifically for several custom environments and may not work for you.
* Usage of packages in this PPA, in some forms, might contradict licenses of software
  packaged in this and related PPAs. End users and administrator are responsible for
  runtime licensing and possible legal consequences.
* Some packages provided with their dependencies while some might require additional
  Ubuntu repositories and external PPAs. Below is the list of
$ sudo add-apt-repository ppa:eugenesan/ppa

Get:41 http://in.archive.ubuntu.com/ubuntu focal-updates/multiverse amd64 c-n-f Metadata [552 B]                             
Get:42 http://in.archive.ubuntu.com/ubuntu focal-backports/universe i386 Packages [2,904 B]                                  
Get:43 http://in.archive.ubuntu.com/ubuntu focal-backports/universe amd64 Packages [3,988 B]                                 
Get:44 http://in.archive.ubuntu.com/ubuntu focal-backports/universe amd64 DEP-11 Metadata [1,768 B]                          
Get:45 http://in.archive.ubuntu.com/ubuntu focal-backports/universe amd64 c-n-f Metadata [224 B]                             
Fetched 5,634 kB in 14s (406 kB/s)                                                                                           
Reading package lists... Done

Use this command to update the repository files.

root@linuxhelp:~# apt-get update
Hit:1 http://in.archive.ubuntu.com/ubuntu focal InRelease
Hit:2 http://in.archive.ubuntu.com/ubuntu focal-updates InRelease                                      
Hit:3 http://in.archive.ubuntu.com/ubuntu focal-backports InRelease                                                          
Hit:4 http://security.ubuntu.com/ubuntu focal-security InRelease                                                             
Hit:5 http://ppa.launchpad.net/eugenesan/ppa/ubuntu focal InRelease
Reading package lists... Done

Install the Macfanctld by using the below command:

root@linuxhelp:~# apt-get install macfanctld -y
Reading package lists... Done
Building dependency tree       
Reading state information... Done
The following NEW packages will be installed:
  macfanctld
0 upgraded, 1 newly installed, 0 to remove and 252 not upgraded.
Need to get 13.3 kB of archives.
After this operation, 49.2 kB of additional disk space will be used.
Get:1 http://in.archive.ubuntu.com/ubuntu focal/universe amd64 macfanctld amd64 0.6+repack1-2 [13.3 kB]
Fetched 13.3 kB in 0s (78.6 kB/s)
Selecting previously unselected package macfanctld.
(Reading database ... 181756 files and directories currently installed.)
Preparing to unpack .../macfanctld_0.6+repack1-2_amd64.deb ...
Unpacking macfanctld (0.6+repack1-2) ...
Setting up macfanctld (0.6+repack1-2) ...
Processing triggers for man-db (2.9.1-1) ...
Processing triggers for systemd (245.4-4ubuntu3.2) ...

To know more about the options used the application by execute the following command.

root@linuxhelp:~# macfanctld --help
usage: macfanctld [-f]
  -f  run in foregound

run the following command and press y to continue the uninstallation process.

root@linuxhelp:~# apt-get remove macfanctld -y
Reading package lists... Done
Building dependency tree       
Reading state information... Done
The following packages will be REMOVED:
  macfanctld
0 upgraded, 0 newly installed, 1 to remove and 252 not upgraded.

With this method, the Installation of Macfanctld on Ubuntu 20.4.1 comes to an end.

Tag : Mac Ubuntu
FAQ
Q
How to uninstall the macfanctld in ubuntu?
A
To remove the manfanctld package, run the following command # apt-get remove macfanctld -y
Q
Which command is used to know about the available options of macfanctld in ubuntu?
A
The options used by the application, execute the following command
# macfanctld --help
Q
What is the purpose of installing Macfanctld in Ubuntu?
A
acfanctld is a daemon that reads temperature sensors and adjusts the fan speed on MacBook. Macfanctld is configurable and logs temp and fan data to a file. It uses three sources to determine the fan speed: average temperature from all sensors, sensor TC0P, and proximity speed and sensor TG0P
Q
Where to get the source package for Macfanctld?
A
To get the source package for Macfanctld use
#"https://github.com/MikaelStrom/macfanctld".
Q
Is it possible to install Macfanctld on windows?
A
No. Macfanctld can't install on windows.