Difference between revisions of "Installation/Linux/OpenFOAM-2.2.0/Debian"

From OpenFOAMWiki
(Copy-paste-adapted instructions from 2.1.1 for Debian... albeit Squeeze will have to left out, since it provides only GCC 4.4...)
(Updated instructions to comply with the latest Debian versions vs Ubuntu versions)
Line 14: Line 14:
 
# 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!
 
# 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!
  
 +
 +
== Debian 6.0 (aka Squeeze) ==
 +
Since Debian Wheezy 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.0/Ubuntu#Ubuntu_10.04]]
  
 
== Debian Wheezy ==
 
== Debian Wheezy ==
Line 22: Line 25:
 
* You can install from source, by either:
 
* You can install from source, by either:
 
** Following the official instructions from here: [http://www.openfoam.org/download/source.php Source Pack Installation]
 
** Following the official instructions from here: [http://www.openfoam.org/download/source.php Source Pack Installation]
** Since Debian Wheezy is at the time of this writing (18:01, 2 May 2013 (CEST)) very similar to Ubuntu 12.04, you can try following the instructions meant for this particular Ubuntu version: [[Installation/Linux/OpenFOAM-2.2.0/Ubuntu#Ubuntu_12.04]]
+
** Since Debian Wheezy is at the time of this writing (12:43, 7 July 2013 (CEST)) very similar to Ubuntu 12.10, you can try following the instructions meant for this particular Ubuntu version: [[Installation/Linux/OpenFOAM-2.2.0/Ubuntu#Ubuntu_12.10]]
  
  
Line 32: Line 35:
 
* You can install from source, by either:
 
* You can install from source, by either:
 
** Following the official instructions from here: [http://www.openfoam.org/download/source.php Source Pack Installation]
 
** Following the official instructions from here: [http://www.openfoam.org/download/source.php Source Pack Installation]
** Since Debian Sid is at the time of this writing (18:01, 2 May 2013 (CEST)) very similar to Ubuntu 12.10, you can try following the instructions meant for this particular Ubuntu version: [[Installation/Linux/OpenFOAM-2.2.0/Ubuntu#Ubuntu_12.10]]
+
** Debian Sid is at the time of this writing (12:43, 7 July 2013 (CEST)) very similar to Ubuntu 13.10, which has not yet been released. You can try following the instructions meant for Ubuntu version 12.10, but it's very likely that it will fail: [[Installation/Linux/OpenFOAM-2.2.0/Ubuntu#Ubuntu_12.10]]
 
+
  
  
 
[[Category:Installing OpenFOAM on Linux]] [[Category:Installing OpenFOAM on Ubuntu]]
 
[[Category:Installing OpenFOAM on Linux]] [[Category:Installing OpenFOAM on Ubuntu]]

Revision as of 10:43, 7 July 2013

1 Introduction

This page is dedicated to explaining how to install OpenFOAM OF Version 220.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 Wheezy 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.0/Ubuntu#Ubuntu_10.04

2.2 Debian Wheezy

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.0. 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=precise
  • You can install from source, by either:


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.0. 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: