Difference between revisions of "Installation/Linux"

From OpenFOAMWiki
(How to add new pages: Full roll of the category for Fedora)
(Following AntonChupin's idea of adding the main pages for the operating system groups to their categories as well)
 
(6 intermediate revisions by the same user not shown)
Line 1: Line 1:
__FORCETOC__
 
 
 
 
= Introduction =
 
= Introduction =
  
 
This page is an entry point to the several instructions made available for installing OpenFOAM on Linux, or more specifically, on [http://en.wikipedia.org/wiki/Linux_distribution Linux Distributions].
 
This page is an entry point to the several instructions made available for installing OpenFOAM on Linux, or more specifically, on [http://en.wikipedia.org/wiki/Linux_distribution Linux Distributions].
  
Here is the list of pages that fall into this category:
+
Here is the list of pages that fall into this category: {{#categorytree:Installing OpenFOAM on Linux|mode=pages}}
{{#categorytree:Installing OpenFOAM on Linux|mode=pages}}
+
  
 +
<br>
  
 
= How to add new pages =
 
= How to add new pages =
 
Check the source code of one or more of the children pages listed in the [[#Introduction|Introduction]] to get a better idea of the structure, but the common structure is as follows:
 
Check the source code of one or more of the children pages listed in the [[#Introduction|Introduction]] to get a better idea of the structure, but the common structure is as follows:
 
<ol><li>All children pages must start with <tt>Installation/Linux</tt></li>
 
<ol><li>All children pages must start with <tt>Installation/Linux</tt></li>
<li>Next indicate the OpenFOAM version/variant/fork it refers to - e.g. OpenFOAM-2.1.1 - and in that page, must refer have at the bottom of the page this code:
+
<li>Next indicate the OpenFOAM version/variant/fork it refers to - e.g. <tt>OpenFOAM-2.1.1</tt> - and in that page, must refer have at the bottom of the page this code:
 
<pre>[[Category:Installing OpenFOAM on Linux]]</pre></li>
 
<pre>[[Category:Installing OpenFOAM on Linux]]</pre></li>
<li>If the instructions are detailed for a certain Linux distribution, place it's main name last and must refer at the bottom of the page this code, e.g. for Fedora:
+
<li>If the instructions are detailed for a specific Linux distribution, place it's main name last, e.g. for Fedora, it would be: <tt>OpenFOAM-2.1.1/Fedora</tt><br>Additionally, place the following code at the bottom of that page, for the same example:
 
<pre>[[Category:Installing OpenFOAM on Linux]] [[Category:Installing OpenFOAM on Fedora]]</pre></li>
 
<pre>[[Category:Installing OpenFOAM on Linux]] [[Category:Installing OpenFOAM on Fedora]]</pre></li>
 
</ol>
 
</ol>
 +
<br>
 +
== Tips ==
 +
<ul>
 +
<li>You can add a list of sub-pages to a ''generic instructions'' page by using the [[Template:Subpages]]. Example from the page [[Installation/Linux/OpenFOAM-2.1.1]]:
 +
<pre>{{subpages|Installation/Linux/OpenFOAM-2.1.1/}}</pre></li>
 +
</ul>
 +
<br>
  
Examples of pages:
+
== Examples of pages ==
 
; [[Installation/Linux/OpenFOAM-2.1.1]]: This page details generic instructions for installing OpenFOAM 2.1.1.
 
; [[Installation/Linux/OpenFOAM-2.1.1]]: This page details generic instructions for installing OpenFOAM 2.1.1.
 
; [[Installation/Linux/OpenFOAM-2.1.1/Fedora]]: This page details generic instructions for installing OpenFOAM 2.1.1 on Fedora (including any and all versions of Fedora).
 
; [[Installation/Linux/OpenFOAM-2.1.1/Fedora]]: This page details generic instructions for installing OpenFOAM 2.1.1 on Fedora (including any and all versions of Fedora).
Line 26: Line 30:
  
 
[[Category:Installing OpenFOAM]]
 
[[Category:Installing OpenFOAM]]
 +
[[Category:Installing OpenFOAM on Linux]]

Latest revision as of 22:31, 9 January 2014

1 Introduction

This page is an entry point to the several instructions made available for installing OpenFOAM on Linux, or more specifically, on Linux Distributions.

Here is the list of pages that fall into this category:



2 How to add new pages

Check the source code of one or more of the children pages listed in the Introduction to get a better idea of the structure, but the common structure is as follows:

  1. All children pages must start with Installation/Linux
  2. Next indicate the OpenFOAM version/variant/fork it refers to - e.g. OpenFOAM-2.1.1 - and in that page, must refer have at the bottom of the page this code:
    [[Category:Installing OpenFOAM on Linux]]
  3. If the instructions are detailed for a specific Linux distribution, place it's main name last, e.g. for Fedora, it would be: OpenFOAM-2.1.1/Fedora
    Additionally, place the following code at the bottom of that page, for the same example:
    [[Category:Installing OpenFOAM on Linux]] [[Category:Installing OpenFOAM on Fedora]]


2.1 Tips


2.2 Examples of pages

Installation/Linux/OpenFOAM-2.1.1
This page details generic instructions for installing OpenFOAM 2.1.1.
Installation/Linux/OpenFOAM-2.1.1/Fedora
This page details generic instructions for installing OpenFOAM 2.1.1 on Fedora (including any and all versions of Fedora).
Installation/Linux/OpenFOAM-1.6-ext
This page details generic instructions for installing OpenFOAM 1.6-ext.
Installation/Linux/OpenFOAM-1.6-ext/Ubuntu
This page details generic instructions for installing OpenFOAM 1.6-ext on Ubuntu (including any and all versions of Ubuntu).