Installation/Linux/OpenFOAM-2.2.2/Debian

From OpenFOAMWiki
< Installation‎ | Linux‎ | OpenFOAM-2.2.2
Revision as of 20:54, 18 February 2014 by Wyldckat (Talk | contribs)

1 Introduction

This page is dedicated to explaining how to install OpenFOAM OF Version 222.png in Debian. This instructions page might send you to the one for Ubuntu basically due to the close similarity between Ubuntu and Debian, since Ubuntu derives from Debian.

If you do not yet feel comfortable using Linux, then perhaps you better first read the page Working with the Shell and train a bit with the shell/terminal environments, so you can have a better perception of the steps shown below.


2 Copy-Paste steps

A few notes before you start copy-pasting:

  1. Lines that start with # don't have to be copy-pasted. They are just comments to let you know what's going on.
  2. One wrong character is enough for breaking this guide, so make sure you can read the characters properly or that the installed language system does not break the copied characters!


2.1 Debian 6.0 (aka Squeeze)

Since Debian Squeeze is at the time of this writing (12:43, 7 July 2013 (CEST)) very similar to Ubuntu 10.04, you can try following the instructions meant for this particular Ubuntu version: Installation/Linux/OpenFOAM-2.2.2/Ubuntu#Ubuntu_10.04


2.2 Debian 7.x (aka Wheezy)

Here you have at least two choices, by installing from source code:

  1. Following the official instructions from here: Source Pack Installation
  2. Since Debian Wheezy is at the time of this writing (December 2013) very similar to Ubuntu 12.10, you can try following the instructions meant for this particular Ubuntu version: Installation/Linux/OpenFOAM-2.2.2/Ubuntu#Ubuntu_12.10


2.3 Debian Sid

Here you have at least two choices:

  • You can install the Deb packages, which provide a quick and easy way for having a working installation of OpenFOAM 2.2.2. This is the quickest solution for beginners and instructions are provided here: Ubuntu Deb Pack Installation
    • WARNING: Debian itself is not yet officially supported using these Deb packages. You'll have to use a hack, where this line:
      VERS=$(lsb_release -cs)
      should be replaced with this one:
      VERS=quantal
  • You can install from source, by either: