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

From OpenFOAMWiki
(Kick off the page for Debian + OF 2.2.0)
 
(Copy-paste-adapted instructions from 2.1.1 for Debian... albeit Squeeze will have to left out, since it provides only GCC 4.4...)
Line 13: Line 13:
 
# Lines that start with <tt>#</tt> don't have to be ''copy-pasted''. They are just comments to let you know what's going on.
 
# Lines that start with <tt>#</tt> don't have to be ''copy-pasted''. They are just comments to let you know what's going on.
 
# 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 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: [http://www.openfoam.org/download/ubuntu.php 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: <pre>VERS=$(lsb_release -cs)</pre> should be replaced with this one: <pre>VERS=precise</pre>
 +
* You can install from source, by either:
 +
** 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]]
 +
 +
 +
== 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: [http://www.openfoam.org/download/ubuntu.php 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: <pre>VERS=$(lsb_release -cs)</pre> should be replaced with this one: <pre>VERS=quantal</pre>
 +
* You can install from source, by either:
 +
** 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]]
 +
  
  
 
[[Category:Installing OpenFOAM on Linux]] [[Category:Installing OpenFOAM on Ubuntu]]
 
[[Category:Installing OpenFOAM on Linux]] [[Category:Installing OpenFOAM on Ubuntu]]

Revision as of 16:01, 2 May 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 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.2 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: