FAH packages available on a new repo for Debian and Ubuntu

Moderators: Site Moderators, FAHC Science Team

FAH packages available on a new repo for Debian and Ubuntu

Postby Juanro49 » Thu Apr 09, 2020 1:21 am

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 9:10 pm

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

Postby Juanro49 » Wed Apr 15, 2020 8:39 pm

New Beta versions 7.6.7 from https://foldingathome.org/beta/ added to the repo
Juanro49
 
Posts: 16
Joined: Wed Mar 18, 2020 9:10 pm

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

Postby mmlvx » Sat Apr 25, 2020 7:42 am

Juanro49 -- You're my hero. Thank you.
mmlvx
 
Posts: 5
Joined: Tue Apr 07, 2020 10:32 pm

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

Postby Juanro49 » Tue May 05, 2020 10:27 pm

packages updated to version 7.6.13
Juanro49
 
Posts: 16
Joined: Wed Mar 18, 2020 9:10 pm

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

Postby ArianMohlmann » Wed May 06, 2020 8:08 pm

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?
ArianMohlmann
 
Posts: 15
Joined: Thu Apr 02, 2020 7:39 am

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

Postby PantherX » Thu May 07, 2020 10:23 am

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
User avatar
PantherX
Site Moderator
 
Posts: 6850
Joined: Wed Dec 23, 2009 10:33 am
Location: Land Of The Long White Cloud

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

Postby ArianMohlmann » Mon May 11, 2020 8:35 pm

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]#
ArianMohlmann
 
Posts: 15
Joined: Thu Apr 02, 2020 7:39 am

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

Postby samcarboni » Tue May 19, 2020 9:21 pm

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.
samcarboni
 
Posts: 5
Joined: Tue May 19, 2020 9:12 pm

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

Postby PantherX » Wed May 20, 2020 4:30 am

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 :)
User avatar
PantherX
Site Moderator
 
Posts: 6850
Joined: Wed Dec 23, 2009 10:33 am
Location: Land Of The Long White Cloud

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

Postby MeeLee » Wed May 20, 2020 7:55 pm

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
MeeLee
 
Posts: 1149
Joined: Tue Feb 19, 2019 11:16 pm

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

Postby NRT_AntiKytherA » Wed May 20, 2020 10:30 pm

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.
NRT_AntiKytherA
 
Posts: 111
Joined: Mon May 11, 2020 12:50 am

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

Postby MeeLee » Fri May 22, 2020 1:00 am

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).
MeeLee
 
Posts: 1149
Joined: Tue Feb 19, 2019 11:16 pm

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

Postby NRT_AntiKytherA » Fri May 22, 2020 9:14 am

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.
NRT_AntiKytherA
 
Posts: 111
Joined: Mon May 11, 2020 12:50 am

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

Postby MeeLee » Fri May 22, 2020 10:00 pm

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.
MeeLee
 
Posts: 1149
Joined: Tue Feb 19, 2019 11:16 pm

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

Postby samcarboni » Fri May 29, 2020 10:07 pm

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.
samcarboni
 
Posts: 5
Joined: Tue May 19, 2020 9:12 pm

Next

Return to V7.5.1 Public Release Windows/Linux/MacOS X

Who is online

Users browsing this forum: No registered users and 1 guest

cron