Install FAHControl Debian 10 Buster

Moderators: Site Moderators, FAHC Science Team

Post Reply
pr0ti3n
Posts: 16
Joined: Wed Apr 01, 2020 2:31 am
Location: @homefolding

Install FAHControl Debian 10 Buster

Post by pr0ti3n »

Code: Select all

sudo apt-get install -y python-stdeb python-gtk2 python-all debhelper git
If you already have a Github directory you can skip this.

Code: Select all

mkdir -p Github

Code: Select all

cd Github/
git clone https://github.com/FoldingAtHome/fah-control.git
cd fah-control
Now the Fun part. Open your file manager and go to the fah-control directory.
With your favorite text editor or IDE open setup.py.
Look for this block of code:

Code: Select all

else:
    from setuptools import setup, find_packages

    extra_opts = dict(
        packages = find_packages(),
        scripts = [app],
        data_files = [('/usr/share/pixmaps', ['images/FAHControl.png'])],
        install_requires = 'gtk2 >= 2.14.0',
        include_package_data = True,
        )
Remove this line completely:

Code: Select all

install_requires = 'gtk2 >= 2.14.0',
You do not need pip to install this. You already installed with the package manager.
Save the file and close.
Back in your terminal run:

Code: Select all

python setup.py build
sudo python setup.py install
It should be installed system wide now. Open a new terminal.
Check the status of FAHClient and make sure its active:

Code: Select all

sudo systemctl status FAHClient
If it's active:

Code: Select all

sudo FAHControl
Image
Post Reply