Guide for installing FAH v7.6.21 on Ubuntu 20.04.2 LTS v2
Posted: Mon Feb 15, 2021 7:03 pm
This guide is for those new to Folding-At-Home using Ubuntu Linux OS. This version contains more details on adding the Passkey and installing FAHViewer.
Acknowledgement; Much of this Guide is the result of the efforts of others on this forum and I would like to thank all of them for their generous guidance.
Test conditions;
* CPU - AMD R7-3700X, (not critical, either AMD or Intel should be OK)
* GPU - Nvidia GTX 1060, 3G, Nvidia Driver 460.32.03, (Critical when using Nvidia GPUs, AMD drivers for AMD devices will also be critical.)
* OS - Ubuntu 20.04.2 LTS, Minimal Install, Fully Upgraded, (other Ubuntu releases may be similar.)
* FAHClient v7.6.21, (using the latest release of FAHClient)
* Uses the GUI Interface of Ubuntu
Step 1, Getting the OS ready to Fold;
a. Update and Upgrade Ubuntu
b. Nvidia drivers are required to Fold if you have a Nvidia gpu. Open Ubuntu 'Software and Updates' then 'Additional Drivers'. Ensure that 'Using ... nvidia-driver-460' is selected and then 'Close'
c. OpenCL dev files are required to successfully use any gpu for Folding, install using Terminal Command; sudo apt install ocl-icd-opencl-dev
d. Reboot the PC
Step 2, Saving the FAH install files;
a. Open https://foldingathome.org/home/
b. Choose 'Start folding'
c. Under 'Debian / Mint / Ubuntu', choose; fahclient_7.6.21_amd64.deb Do not 'Open' but rather choose 'Save'
d. [Optional] Do the same for FAHViewer by Saving; fahviewer_7.6.21_amd64.deb
Note; The third file, FAHControl requires Python2 while Ubuntu 20.04 uses Python3. This guide uses a pre-release version of FAHControl that will be covered in the next step.
Step 3, Saving the FAHControl file. This App is used as the GUI Interface for the FAHClient.
a. Go to; https://github.com/cdberkstresser/fah-control/releases
b. Choose 'Testing Builds for Python 3'
c. Choose 'python3-fahcontrol_7.7.0-1_all.deb' Save, don't open
Step 4, Installing FAHClient, (required)
a. Retrieve a Passkey here, it's optional but encouraged; https://apps.foldingathome.org/getpasskey
b. Find the downloaded FAH files in the 'Downloads' folder.
c. Install the FAHClient with this example Terminal Command, substituting your path to the .deb file. The path can be found in 'Properties' of the file.
sudo apt install /home/steve/Downloads/fahclient_7.6.21_amd64.deb
d. Answer the questions that appear in the simple gui interface for FAHClient
User Name
Team (Optional)
Passkey (previously retrieved)
Full if dedicated to Folding
Auto-Start = Yes
e. Folding should start automatically.
Step 5, Installing FAHControl, (required for this install guide)
a. Using the same steps as in Step 4 but using this example command in the Terminal, again substituting your path;
sudo apt install /home/steve/Downloads/python3-fahcontrol_7.7.0-1_all.deb
Step 6, Start FAHControl;
a. Issue the Terminal command; FAHControl & exit
b. A window should appear for FAHControl showing the status of the FAHClient
c. Under 'Status', 'Folding Slots' check whether there are one or two slots 'Running'.
d. If there are two slots running, 'cpu' & 'gpu', your done!
e. However, if there is only one slot running, more steps are required to get the gpu running
Step 7, Enabling the GPU, (if needed)
a. Choose 'Configure' at the top left of the FAHControl window and then choose 'Expert'
b. In the 'Extra Client' items, look for 'gpu' 'false'
c. Expand the window so you see the commands 'Add and 'Remove' near the bottom
d. Choose the gpu false attribute and then click 'Remove'
e. Choose 'Save' and when it's done saving, close all open windows and reboot the PC. Note: Sometimes FAHControl hangs after Saving, if after a few moments it doesn't proceed, just close it and reboot.
d. After reboot, use FAHControl and exit in the Terminal and check whether two slots are running as in Step 6. If both the cpu and gpu slots are running, you're done!
Step 8, Installing FAHViewer. This is an optional App that provides an animation of the Folding work being done.
a. Install FAHViewer using the same steps as in Step 4 but using this example command in the Terminal, again substituting your path;
sudo apt install /home/steve/Downloads/fahviewer_7.6.21_amd64.deb
b. You should now have the FAHViewer App in your 'Show Applications'
Acknowledgement; Much of this Guide is the result of the efforts of others on this forum and I would like to thank all of them for their generous guidance.
Test conditions;
* CPU - AMD R7-3700X, (not critical, either AMD or Intel should be OK)
* GPU - Nvidia GTX 1060, 3G, Nvidia Driver 460.32.03, (Critical when using Nvidia GPUs, AMD drivers for AMD devices will also be critical.)
* OS - Ubuntu 20.04.2 LTS, Minimal Install, Fully Upgraded, (other Ubuntu releases may be similar.)
* FAHClient v7.6.21, (using the latest release of FAHClient)
* Uses the GUI Interface of Ubuntu
Step 1, Getting the OS ready to Fold;
a. Update and Upgrade Ubuntu
b. Nvidia drivers are required to Fold if you have a Nvidia gpu. Open Ubuntu 'Software and Updates' then 'Additional Drivers'. Ensure that 'Using ... nvidia-driver-460' is selected and then 'Close'
c. OpenCL dev files are required to successfully use any gpu for Folding, install using Terminal Command; sudo apt install ocl-icd-opencl-dev
d. Reboot the PC
Step 2, Saving the FAH install files;
a. Open https://foldingathome.org/home/
b. Choose 'Start folding'
c. Under 'Debian / Mint / Ubuntu', choose; fahclient_7.6.21_amd64.deb Do not 'Open' but rather choose 'Save'
d. [Optional] Do the same for FAHViewer by Saving; fahviewer_7.6.21_amd64.deb
Note; The third file, FAHControl requires Python2 while Ubuntu 20.04 uses Python3. This guide uses a pre-release version of FAHControl that will be covered in the next step.
Step 3, Saving the FAHControl file. This App is used as the GUI Interface for the FAHClient.
a. Go to; https://github.com/cdberkstresser/fah-control/releases
b. Choose 'Testing Builds for Python 3'
c. Choose 'python3-fahcontrol_7.7.0-1_all.deb' Save, don't open
Step 4, Installing FAHClient, (required)
a. Retrieve a Passkey here, it's optional but encouraged; https://apps.foldingathome.org/getpasskey
b. Find the downloaded FAH files in the 'Downloads' folder.
c. Install the FAHClient with this example Terminal Command, substituting your path to the .deb file. The path can be found in 'Properties' of the file.
sudo apt install /home/steve/Downloads/fahclient_7.6.21_amd64.deb
d. Answer the questions that appear in the simple gui interface for FAHClient
User Name
Team (Optional)
Passkey (previously retrieved)
Full if dedicated to Folding
Auto-Start = Yes
e. Folding should start automatically.
Step 5, Installing FAHControl, (required for this install guide)
a. Using the same steps as in Step 4 but using this example command in the Terminal, again substituting your path;
sudo apt install /home/steve/Downloads/python3-fahcontrol_7.7.0-1_all.deb
Step 6, Start FAHControl;
a. Issue the Terminal command; FAHControl & exit
b. A window should appear for FAHControl showing the status of the FAHClient
c. Under 'Status', 'Folding Slots' check whether there are one or two slots 'Running'.
d. If there are two slots running, 'cpu' & 'gpu', your done!
e. However, if there is only one slot running, more steps are required to get the gpu running
Step 7, Enabling the GPU, (if needed)
a. Choose 'Configure' at the top left of the FAHControl window and then choose 'Expert'
b. In the 'Extra Client' items, look for 'gpu' 'false'
c. Expand the window so you see the commands 'Add and 'Remove' near the bottom
d. Choose the gpu false attribute and then click 'Remove'
e. Choose 'Save' and when it's done saving, close all open windows and reboot the PC. Note: Sometimes FAHControl hangs after Saving, if after a few moments it doesn't proceed, just close it and reboot.
d. After reboot, use FAHControl and exit in the Terminal and check whether two slots are running as in Step 6. If both the cpu and gpu slots are running, you're done!
Step 8, Installing FAHViewer. This is an optional App that provides an animation of the Folding work being done.
a. Install FAHViewer using the same steps as in Step 4 but using this example command in the Terminal, again substituting your path;
sudo apt install /home/steve/Downloads/fahviewer_7.6.21_amd64.deb
b. You should now have the FAHViewer App in your 'Show Applications'