Keyboard shortcuts

Press or to navigate between chapters

Press S or / to search in the book

Press ? to show this help

Press Esc to hide this help

Installation

The installation of OpenFoam® is possible through three different methods:

  • Installing the binaries and correlated [dynamic libraries] from a packages manager
  • Downloading and extracting an pre-compiled package from the OpenFoam® websites
  • Compiling from the source code

In this chapter only pre-compiled installation steps will be covered. For further information on the compilation process refer to the relative chapter - Compilation

Suggested location in the linux file system

If you do not use a package manger, you must choose where to install the software. It is advised to create a /opt/OpenFOAM/ directory if you are not backed up by a package manager to avoid mistakes during updates. You can create the directory following:

sudo mkdir -p /opt/OpenFOAM

Where /opt stands for Optional software on file system hierarchy.