Skip to content

GitLab

  • Projects
  • Groups
  • Snippets
  • Help
    • Loading...
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in / Register
openfoam
openfoam
  • Project overview
    • Project overview
    • Details
    • Activity
    • Releases
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 331
    • Issues 331
    • List
    • Boards
    • Labels
    • Service Desk
    • Milestones
  • Merge Requests 6
    • Merge Requests 6
  • Operations
    • Operations
    • Incidents
  • Analytics
    • Analytics
    • Repository
    • Value Stream
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Members
    • Members
  • Collapse sidebar
  • Activity
  • Graph
  • Create a new issue
  • Commits
  • Issue Boards
  • Development
  • openfoamopenfoam
  • Wiki
    • Precompiled
  • redhat

Last edited by Mark Olesen Dec 28, 2020
Page history

redhat

home packages

Precompiled packages (CentOS/RedHat/Fedora)

  • 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 openfoam2012
traditional sudo yum install openfoam2012-devel
everything sudo yum install openfoam2012-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 In development by OpenCFD

Copyright (C) 2020 OpenCFD Ltd.

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