... | ... | @@ -12,34 +12,41 @@ |
|
|
## Precompiled packages - CentOS/RedHat/Fedora
|
|
|
|
|
|
For RedHat-based systems, OpenCFD Ltd. current uses the
|
|
|
[copr](https://copr.fedorainfracloud.org/) infrastructure to provide
|
|
|
[_copr_](https://copr.fedorainfracloud.org/) infrastructure to provide
|
|
|
RPM packages. These precompiled packages leverage standard components
|
|
|
available from _EPEL_ (Extra Packages for Enterprise Linux)
|
|
|
and some elements of _PowerTools_ as well.
|
|
|
|
|
|
These should also be enabled prior to
|
|
|
These should also be enabled _prior_ to further installation
|
|
|
_(Fedora users can possibly skip this part)_.
|
|
|
```
|
|
|
yum -y install dnf-plugins-core
|
|
|
yum -y config-manager --set-enabled PowerTools
|
|
|
|
|
|
yum -y install epel-release
|
|
|
```
|
|
|
|
|
|
Finally, enable `copr` for OpenFOAM as per the
|
|
|
Enable ***copr*** for OpenFOAM as per the
|
|
|
[copr documentation](https://docs.pagure.org/copr.copr/how_to_enable_repo.html)
|
|
|
|
|
|
On older systems:
|
|
|
```
|
|
|
dnf -y copr enable openfoam/openfoam
|
|
|
|
|
|
# On older systems:
|
|
|
yum -y install yum-plugin-copr
|
|
|
yum copr enable openfoam/openfoam
|
|
|
yum -y copr enable openfoam/openfoam
|
|
|
```
|
|
|
On newer systems:
|
|
|
|
|
|
Can now install the desired OpenFOAM packages. Since multiple OpenFOAM
|
|
|
versions can be installed simultaneously, the tiny _openfoam-selector_
|
|
|
can useful for switching between versions.
|
|
|
```
|
|
|
dnf copr enable openfoam/openfoam
|
|
|
yum -y install openfoam-selector
|
|
|
```
|
|
|
|
|
|
Fedora users can possibly skip some of the initial steps such as
|
|
|
adding _EPEL_ and _PowerTools_.
|
|
|
Finally install the most recent runtime-only package (or other
|
|
|
combinations):
|
|
|
```
|
|
|
yum -y install openfoam
|
|
|
```
|
|
|
|
|
|
|
|
|
### Supported versions and distributions
|
... | ... | |