-
Notifications
You must be signed in to change notification settings - Fork 20
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
2 changed files
with
46 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,44 @@ | ||
# Building the RPM package | ||
|
||
## Install the Prerequisites | ||
|
||
### Fedora/Red Hat Enterprise Linux (RHEL) | ||
``` | ||
sudo dnf -y install git python3-scons gcc-c++ openssl-devel zlib-devel bzip2-devel systemd-devel rpm-build systemd-rpm-macros | ||
``` | ||
|
||
On Red Hat Enterprise Linux (RHEL) 8 and clones, you need to enable the PowerTools repository with `dnf config-manager --set-enabled powertools`. On RHEL 9 and clones, enable the [EPEL repository](https://docs.fedoraproject.org/en-US/epel/) instead. | ||
|
||
### openSUSE | ||
``` | ||
sudo zypper -n in git scons gcc-c++ libopenssl-devel zlib-devel libbz2-devel systemd-devel rpm-build systemd-rpm-macros | ||
``` | ||
|
||
## Get the code | ||
``` | ||
git clone https://github.com/cauldrondevelopmentllc/cbang | ||
git clone https://github.com/foldingathome/fah-client-bastet | ||
``` | ||
|
||
## Build the Folding@home Client | ||
``` | ||
export CBANG_HOME=$PWD/cbang | ||
scons -C cbang | ||
scons -C fah-client-bastet | ||
scons -C fah-client-bastet package | ||
``` | ||
|
||
## Install the package | ||
The last build step builds the RPM package. Before installing this package it is recommend that you first uninstall any previous Folding@home client software. You can then install the package like this: | ||
|
||
### Fedora/Red Hat Enterprise Linux (RHEL) | ||
``` | ||
sudo dnf install ./fah-client-bastet/fah_client-<version>-1.x86_64.rpm | ||
``` | ||
|
||
### openSUSE | ||
``` | ||
sudo zypper in ./fah-client-bastet/fah_client-<version>-1.x86_64.rpm | ||
``` | ||
|
||
Where `<version>` is the software version number. On openSUSE, ignore ("i") when `zypper` complains the package is not signed. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters