GUIDE: FAH on Linux from scratch

Moderators: Site Moderators, PandeGroup

Re: GUIDE: FAH on Linux from scratch

Postby MeeLee » Fri Jul 05, 2019 5:33 am

Great news!

I've been able to install FahControl on Ubuntu/Lubuntu/Kubuntu/Xubuntu 19, and it's working! (should support Mint too)
I can start and stop WUs from Control.

The bad news,
The installation definitely went with errors, and I'm only able to test out with CPU folding.
Also, once FAH Control and Client is installed, there's no way to update your PC, without removing fahclient first!
Code: Select all
sudo apt --fix-broken


The way to go about, is, I used dpkg to install everything, instead of depending on package managers or apt / apt-get for FAH.
Python 2.7 for some reason, perhaps it's a bug, but is allowed to partially be installed, though with errors, by typing:
Code: Select all
sudo apt-get install python 2.7

Before, the package simply wasn't available.
Now they've incorporated at least some basic access to the installation repositories.

Installing 2.7 in Ubuntu, it'll automatically skip some 2.7 files, and take on the 3.0 files, however it still does install some other 2.7 files.

When typing:
Code: Select all
Python

It displays:
Code: Select all
Python 2.7.16 (default, Apr  6 2019, 01:42:57)
[GCC 8.3.0] on linux2

Press CTRL + D to exit.

then install FAHControl and Client, by downloading them from the website
Then go into terminal (CTRL+ALT+T) and type:
Code: Select all
sudo dpkg -i fahcontrol_7.5.1-1_all.deb

and
Code: Select all
sudo dpkg -i fahclient_7.5.1_amd64.deb


Or whatever the version is you downloaded.

The installation will go with errors, but both the Client and Control seem to work on CPU so far.
When I get home, I'll try and see if I can get GPUs to work with them as well.

Not sure why it works, but it does.



*EDIT: I now see why it worked.
If you've installed Ubuntu version 18.04 or 18.10, and do an upgrade to 19.04 (using upgrade manager), some files remain on the SSD.
When then doing an upgrade to the newer OS, an update and upgrade, and dist-upgrade (sudo apt-get update/upgrade/dist-upgrade), it'll install newer kernels etc, but also gives you the possibility to install Python 2.7, or at least partly.
For some reason, I was able to install FAHControl and Client, and they worked, because they were still using the old files from the previous version.
This could be interesting for development, knowing they don't really need to build an entire new FAHControl, but only need a small modification to make it work on Ubuntu 19.04 or later.
MeeLee
 
Posts: 287
Joined: Tue Feb 19, 2019 10:16 pm

Previous

Return to Discussions of General-FAH topics

Who is online

Users browsing this forum: No registered users and 3 guests

cron