FAH packages available on a new repo for Debian and Ubuntu

Moderators: Site Moderators, FAHC Science Team

Juanro49
Posts: 16
Joined: Wed Mar 18, 2020 8:10 pm
Contact:

FAH packages available on a new repo for Debian and Ubuntu

Post by Juanro49 »

Hi, I'm here to inform you that FAH packages are available through the PatoJAD repository for easy installation.

The FAHClient and FAHViewer packages are the same as provided on the official download page https://foldingathome.org/start-folding/
The FAHControl package has been edited to remove the obsolete python-gnome2 dependency and is provided here https://github.com/fcole90/fah-control/ ... -1_focal_1

How to install FAH from the repository?

Code: Select all

echo 'deb https://gitlab.com/patojad/repository/raw/patojad/debs/ patojad main' | sudo tee /etc/apt/sources.list.d/patojad.list
wget -qO - https://gitlab.com/LynxOS/repository/raw/lynxos/LynxPub.gpg | apt-key add -
sudo apt update
sudo apt install fahclient fahcontrol fahviewer
Source: https://patojad.com.ar/repositorio/
Consulta como ver TV y leer noticias desde tu movil en una sola app con FeedTV.
Apoya la investigación desde esta imagen Image
Juanro49
Posts: 16
Joined: Wed Mar 18, 2020 8:10 pm
Contact:

Re: FAH packages available on a new repo for Debian and Ubun

Post by Juanro49 »

New Beta versions 7.6.7 from https://foldingathome.org/beta/ added to the repo
Consulta como ver TV y leer noticias desde tu movil en una sola app con FeedTV.
Apoya la investigación desde esta imagen Image
mmlvx
Posts: 5
Joined: Tue Apr 07, 2020 9:32 pm

Re: FAH packages available on a new repo for Debian and Ubun

Post by mmlvx »

Juanro49 -- You're my hero. Thank you.
Juanro49
Posts: 16
Joined: Wed Mar 18, 2020 8:10 pm
Contact:

Re: FAH packages available on a new repo for Debian and Ubun

Post by Juanro49 »

packages updated to version 7.6.13
Consulta como ver TV y leer noticias desde tu movil en una sola app con FeedTV.
Apoya la investigación desde esta imagen Image
ArianMohlmann
Posts: 15
Joined: Thu Apr 02, 2020 6:39 am

Re: FAH packages available on a new repo for Debian and Ubun

Post by ArianMohlmann »

Release 7.6.13 on Fedora seems not to work.
I have Fedora 32 and Fedora 20.
Both have the connection issue and a password issue.

I was informed to do the following:

Uninstall the client on Linux and ensure these directories are deleted:
/etc/fahclient -> Delete the fahclient folder
/var/lib/fahclient -> Delete the fahclient folder

The install the latest version.

But no luck:

No luck. No where I can find where to put my passkey. Few....

On client "local" 127.0.0.1:36330: Access denied, invalid password

Anyone familiar with this issue?
PantherX
Site Moderator
Posts: 6986
Joined: Wed Dec 23, 2009 9:33 am
Hardware configuration: V7.6.21 -> Multi-purpose 24/7
Windows 10 64-bit
CPU:2/3/4/6 -> Intel i7-6700K
GPU:1 -> Nvidia GTX 1080 Ti
§
Retired:
2x Nvidia GTX 1070
Nvidia GTX 675M
Nvidia GTX 660 Ti
Nvidia GTX 650 SC
Nvidia GTX 260 896 MB SOC
Nvidia 9600GT 1 GB OC
Nvidia 9500M GS
Nvidia 8800GTS 320 MB

Intel Core i7-860
Intel Core i7-3840QM
Intel i3-3240
Intel Core 2 Duo E8200
Intel Core 2 Duo E6550
Intel Core 2 Duo T8300
Intel Pentium E5500
Intel Pentium E5400
Location: Land Of The Long White Cloud
Contact:

Re: FAH packages available on a new repo for Debian and Ubun

Post by PantherX »

The passkey is placed in the config.xml file. The password is entered via FAHControl and configured via the remote access tab. If it is locally causing issues, then you have to click on the "Add" button on the bottom left of FAHControl and then enter the correct details.

Please note that the passkey and password are two different concepts. Passkey is for folding WUs and getting bonus points (once you qualify for them) while the password is to connect to the client either locally or remotely.
ETA:
Now ↞ Very Soon ↔ Soon ↔ Soon-ish ↔ Not Soon ↠ End Of Time

Welcome To The F@H Support Forum Ӂ Troubleshooting Bad WUs Ӂ Troubleshooting Server Connectivity Issues
ArianMohlmann
Posts: 15
Joined: Thu Apr 02, 2020 6:39 am

Re: FAH packages available on a new repo for Debian and Ubun

Post by ArianMohlmann »

Still issue' s:

[root@mohlmann fahclient]# /etc/init.d/FAHClient stop
Stopping fahclient ... OK
[root@mohlmann fahclient]# /etc/init.d/FAHClient start
Starting fahclient ... FAIL
[root@mohlmann fahclient]# /etc/init.d/FAHClient start
Starting fahclient ... FAILED
fahclient seems to be already running with PID 3584
[root@mohlmann fahclient]#
samcarboni
Posts: 8
Joined: Tue May 19, 2020 8:12 pm

Re: FAH packages available on a new repo for Debian and Ubun

Post by samcarboni »

Unable to get FAHControl working using these instructions on Ubuntu Desktop 20.04

So then I too did the following:

Uninstall the client on Linux and ensure these directories are deleted:
/etc/fahclient -> Verifiied non-existent after uninstall
/var/lib/fahclient -> Verifiied non-existent after uninstall

& reinstall from the repo.

This is what happens upon loading attempt:

Code: Select all

~$ FAHControl 
Traceback (most recent call last):
  File "/usr/bin/FAHControl", line 25, in <module>
    from fah import FAHControl, load_fahcontrol_db
  File "/usr/lib/python2.7/dist-packages/fah/__init__.py", line 25, in <module>
    import util
  File "/usr/lib/python2.7/dist-packages/fah/util/__init__.py", line 26, in <module>
    import gtk
ImportError: No module named gtk
And here is my python2.7 package status:

Code: Select all

$ dpkg -s python2.7
Package: python2.7
Status: install ok installed
Priority: optional
Section: python
Installed-Size: 381
Maintainer: Ubuntu Developers <ubuntu-devel-discuss@lists.ubuntu.com>
Architecture: amd64
Multi-Arch: allowed
Version: 2.7.18~rc1-2
Replaces: python-profiler (<= 2.7.1-2), python2.7-minimal (<< 2.7.3-7~)
Depends: python2.7-minimal (= 2.7.18~rc1-2), libpython2.7-stdlib (= 2.7.18~rc1-2), mime-support
Suggests: python2.7-doc, binutils
Breaks: python-virtualenv (<< 1.7.1.2-2~), vim-athena (<< 2:7.3.547-4), vim-gnome (<< 2:7.3.547-4), vim-gtk (<< 2:7.3.547-4), vim-nox (<< 2:7.3.547-4)
Conflicts: python-profiler (<= 2.7.1-2)
Description: Interactive high-level object-oriented language (version 2.7)
 Python is a high-level, interactive, object-oriented language. Its 2.7 version
 includes an extensive class library with lots of goodies for
 network programming, system administration, sounds and graphics.
Original-Maintainer: Matthias Klose <doko@debian.org>
What is module 'gtk'? I was unable to sudo apt install gtk OR sudo apt install python-gtk.
PantherX
Site Moderator
Posts: 6986
Joined: Wed Dec 23, 2009 9:33 am
Hardware configuration: V7.6.21 -> Multi-purpose 24/7
Windows 10 64-bit
CPU:2/3/4/6 -> Intel i7-6700K
GPU:1 -> Nvidia GTX 1080 Ti
§
Retired:
2x Nvidia GTX 1070
Nvidia GTX 675M
Nvidia GTX 660 Ti
Nvidia GTX 650 SC
Nvidia GTX 260 896 MB SOC
Nvidia 9600GT 1 GB OC
Nvidia 9500M GS
Nvidia 8800GTS 320 MB

Intel Core i7-860
Intel Core i7-3840QM
Intel i3-3240
Intel Core 2 Duo E8200
Intel Core 2 Duo E6550
Intel Core 2 Duo T8300
Intel Pentium E5500
Intel Pentium E5400
Location: Land Of The Long White Cloud
Contact:

Re: FAH packages available on a new repo for Debian and Ubun

Post by PantherX »

samcarboni wrote:...What is module 'gtk'? I was unable to sudo apt install gtk OR sudo apt install python-gtk.
Welcome to the F@H Forum samcarboni,

F@H Uses GTK which stands for GIMP Toolkit and is used to create the Graphical User Interface across Windows, Linux and macOS (https://www.gtk.org/). However, I don't have sufficient Linux experience to help you out :( However, there are members here who are proficient in Linux who might be able to help you out :)
ETA:
Now ↞ Very Soon ↔ Soon ↔ Soon-ish ↔ Not Soon ↠ End Of Time

Welcome To The F@H Support Forum Ӂ Troubleshooting Bad WUs Ӂ Troubleshooting Server Connectivity Issues
MeeLee
Posts: 1339
Joined: Tue Feb 19, 2019 10:16 pm

Re: FAH packages available on a new repo for Debian and Ubun

Post by MeeLee »

There is no Control support for anything beyond 18.10, which is now defunct, so essentially it'll be 18.04, 16.04 and 14.04 (which 14.04 will be discontinued soon as well, as it's over 6 years old).

Another reason to stick with 18.04 is if you want multi GPU support, and want anything from changing fan speeds, to power capping, or overclocking, without crashing desktops.
If you're just doing CPU folding, you'll have to run it headless, or use the browser extension to see something of a progress bar.

I've talked to the guys maintaining BoincTui, but the original creator has all but vanished, and a small group of people are maintaining the build, don't fully know how it works.
They're interested in porting it for FAH, but I doubt something will come from it, considering it's just a few people, who are hoping it'll be a quick and easy port (it probably won't).

There is some experimental stuff I posted a while back, but never maintained it.
You can force-install the dependencies, use apt-mark, and make Control work on 19.04, 19.10, and 20.04.
It's ok if you're just using your PC for FAH, but if you're running anything else, there might be compatibility issues deeper in the OS, as it's keeping 2 versions of something (I think Python or gkt or something) installed.

All it takes is someone to follow the instructions, create an updated deb and RPM files from the packages, and post it online as FAHControl Beta or something.
The original thread is here:
viewtopic.php?f=16&t=31972
NRT_AntiKytherA
Posts: 107
Joined: Sun May 10, 2020 11:50 pm

Re: FAH packages available on a new repo for Debian and Ubun

Post by NRT_AntiKytherA »

Use these instructions at your own risk, I have a Timeshift backup should anything stop working to roll back to.

Here's what I just did for Ubuntu 20.04 following the instructions here, please read and refer to them BUT install the packages below before attempting to install fahcontrol in step 2:

Code: Select all

sudo apt install python-gtk2 python-is-python2 python-cairo python-gobject-2
apt isn't objecting so hopefully nothing will break with regards library conflicts. There should also be no issue with upgrades or library conflicts if you are sticking with 20.04 for the next five years. Hopefully in that time fahcontrol will be recompiled to use gobject-introspection. This is of course with fahcontrol version 7.6.13-1 which I assume you are trying to install rather than the old fahclient and fahcontrol. If really you want the old client and control UI, try the snap instead.
MeeLee
Posts: 1339
Joined: Tue Feb 19, 2019 10:16 pm

Re: FAH packages available on a new repo for Debian and Ubun

Post by MeeLee »

There are plenty more packages that need to be downloaded, some of which are not available in the repositories (so you'll have to download them from a Linux archive server).
NRT_AntiKytherA
Posts: 107
Joined: Sun May 10, 2020 11:50 pm

Re: FAH packages available on a new repo for Debian and Ubun

Post by NRT_AntiKytherA »

Just those few worked actually, I am not in the habit about lying over such matters. Of course some other packages I had previously installed may have drawn some libraries from focal repositories that are required but if you can prove otherwise with apt terminal output from a clean install of ubuntu 20.04 then please do and I will glady add any omitted packages to the command above. My install was fresh ubuntu 20.04 as I had been running manjaro KDE on that machine previously. There certainly was no need to trawl archive sites at all, temporarily adding and using bionic as a source worked fine. No programs have stopped working either, I have tested them all now.
MeeLee
Posts: 1339
Joined: Tue Feb 19, 2019 10:16 pm

Re: FAH packages available on a new repo for Debian and Ubun

Post by MeeLee »

Nice to know that it works.
Do know that when you upgrade your OS to 20.04, some files from the previous version transfer over.
But if you say you installed it with this method on a clean install, then I believe you.
I only tried it on 19.10.
Perhaps they enabled some packages in 20.04 that weren't available in 19.10, that were necessary for FAHControl to work properly.
samcarboni
Posts: 8
Joined: Tue May 19, 2020 8:12 pm

Re: FAH packages available on a new repo for Debian and Ubun

Post by samcarboni »

Ok so just to follow up while I couldn't get this distro to work out for me I did manage to get FAHControl to work by using these instructions: https://www.reddit.com/r/Folding/commen ... untu_2004/

However I did have to install python-cairo since when I got to the sudo dpkg -i python-gtk2_2.24.0-6_amd64.deb part of those instructions it failed with the feedback that "python-gtk2 depends on python-cairo (>= 1.0.2-1.1); Package python-cairo is not installed." However it was straightforward to install and then the python-gtk installed fine after that no problem.

Here's those instructions that worked for me on Ubuntu 20.04 Desktop:

Code: Select all

sudo apt install python-gobject-2
sudo apt install python-cairo
wget http://archive.ubuntu.com/ubuntu/pool/universe/p/pygtk/python-gtk2_2.24.0-6_amd64.deb
sudo dpkg -i python-gtk2_2.24.0-6_amd64.deb
Before I did that the FAHControl 7.6.13 was already installed and after I finished I ran FAHControl and it popped right up.
Post Reply