-
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
52 additions
and
4 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,46 @@ | ||
# 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 first enable the PowerTools repository with `sudo 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. You can then install it 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. | ||
|
||
Folding@home Client older than v8 will be automatically removed. |
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