Precompiled packages (openSUSE)
Quick-start:
# Add the science repository
curl -s https://dl.openfoam.com/add-science-repo.sh | sudo bash
# Refresh
sudo zypper refresh
# Install preferred package. Eg,
sudo zypper install openfoam2412-default
# Use the openfoam shell session. Eg,
openfoam2412
The packages do not contain
visualization (eg, ParaView/runTimePostProcessing) or
external-solver (eg, PETSc) modules:
see the corresponding FAQ
openSUSE
For openSUSE users, OpenCFD Ltd. is a maintainer on the community Science Portal and provides RPM binary packages for the most recent OpenFOAM versions via its build system: https://build.opensuse.org/project/show/science
The quick access is via the download page: https://software.opensuse.org//download.html?project=science&package=openfoam and follow the instructions there. Note that this is a meta-package and individual version downloads are also possible. For example, https://software.opensuse.org//download.html?project=science&package=openfoam2412
If you already have the Science repository registered on your system,
you should be able to install it directly with zypper
:
sudo zypper install openfoam
Or with a graphical tool such as YaST2:
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 current and upcoming openSUSE Leap versions. Support for SLES is not always possible (missing packages). Tumbleweed support should be regarded as a purely random event.
Sub-packages
Following the precompiled packages - sub-packages descriptions, the following represent typical installation commands:
User Group | Command |
---|---|
minimalist | sudo zypper install openfoam2412 |
traditional | sudo zypper install openfoam2412-devel |
everything | sudo zypper install openfoam2412-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 |
---|---|---|---|
openSUSE science | package openfoam, download | Actively maintained by OpenCFD |
- Reference installer script contents that should appear on dl.openfoam.com/
Very Bleeding Edge:
For very special cases (ie, you really know what you are doing), various other openfoam builds may be interesting to look at.
Absolutely no warrantee about how usable or stable they may be...To add these repository locations:
zypper addrepo 'https://download.opensuse.org/repositories/home:/openfoam/$releasever/' home_openfoam
This is also where the build artifacts can (mostly) be found.
Copyright (C) 2020-2025 OpenCFD Ltd.