Skip to content

GitLab

  • Menu
Projects Groups Snippets
    • Loading...
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in / Register
  • openfoam openfoam
  • Project information
    • Project information
    • Activity
    • Labels
    • Planning hierarchy
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 381
    • Issues 381
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 14
    • Merge requests 14
  • Deployments
    • Deployments
    • Releases
  • Wiki
    • Wiki
  • Activity
  • Graph
  • Create a new issue
  • Commits
  • Issue Boards
Collapse sidebar
  • Development
  • openfoamopenfoam
  • Wiki
  • Precompiled
  • redhat

Last edited by Mark Olesen Jan 31, 2022
Page history

redhat

home packages

Precompiled packages (CentOS/RedHat/Fedora)

!! The packages do not contain visualization (eg, ParaView/runTimePostProcessing) or external-solver (eg, PETSc) modules:
see the corresponding FAQ

  • CentOS/RedHat/Fedora
    • Supported versions and distributions
    • Sub-packages
    • Installation locations
    • After installation - using the OpenFOAM environment
    • External links

>>> CentOS/RedHat/Fedora

For RedHat-based systems, OpenCFD Ltd. current uses the copr 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 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

Enable copr for OpenFOAM as per the copr documentation

dnf -y copr enable openfoam/openfoam

# On older systems:
yum -y install yum-plugin-copr
yum -y copr enable openfoam/openfoam

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.

yum -y install openfoam-selector

Finally install the most recent runtime-only package (or other combinations):

yum -y install openfoam

Supported versions and distributions

These may change from time to time, but the general goal would be maintain the last two (or three) versions of OpenFOAM supported on latest two EPEL versions and a newer Fedora. However, sometimes updated system packages (Fedora) mean that one of the older OpenFOAM versions needs to be dropped prematurely.

Sub-packages

Following the precompiled packages - sub-packages descriptions, the following represent typical installation commands:

User Group Command
minimalist sudo yum install openfoam2106
traditional sudo yum install openfoam2106-devel
everything sudo yum install openfoam2106-default

Installation locations

As documented in precompiled packages - locations.

After installation - using the OpenFOAM environment

As documented in precompiled packages - OpenFOAM environment.

> External links

System Links Status Notes
Fedora/CentOS/RedHat copr package openfoam Developed by OpenCFD

Copyright (C) 2020-2022 OpenCFD Ltd.

Clone repository
  • Submitting issues
  • building
  • building
    • cross compile mingw
  • coding
    • git workflow
    • patterns
      • HashTable
      • dictionary
      • memory
      • patterns
      • precision
      • selectors
      • strings
    • style
      • style
  • configuring
  • Home
  • icons
    • info
View All Pages