Difference between revisions of "Installation/Linux/foam-extend-3.1/Ubuntu"

From OpenFOAMWiki
m (Ubuntu 14.04: fixed typo)
(Added instructions for Ubuntu 16.04)
Line 31: Line 31:
  
 
Then continue following the instructions on the previous page, subsection [[Installation/Linux/foam-extend-3.1#Installing from source code|Get the source code]].
 
Then continue following the instructions on the previous page, subsection [[Installation/Linux/foam-extend-3.1#Installing from source code|Get the source code]].
 +
 +
== Ubuntu 16.04 ==
 +
 +
Run the following command:
 +
<bash>sudo apt-get update</bash>
 +
<bash>sudo apt-get install git-core build-essential binutils-dev cmake flex \
 +
zlib1g-dev qt4-dev-tools libqt4-dev libncurses5-dev libiberty-dev \
 +
libxt-dev rpm mercurial graphviz python python-dev
 +
</bash>
 +
 +
Then follow the instructions on the previous page, subsection [[Installation/Linux/foam-extend-3.1#Installing from source code|Get the source code]].
 +
 +
'''Note''': Before running {{tt|Allwmake.firstInstall}}, you will need to run the following command to fix an issue with the Flex version:
 +
<bash>find src applications -name "*.L" -type f | xargs sed -i -e 's=\(YY\_FLEX\_SUBMINOR\_VERSION\)=YY_FLEX_MINOR_VERSION < 6 \&\& \1='</bash>
  
  
 
[[Category:Installing OpenFOAM on Linux]] [[Category:Installing OpenFOAM on Ubuntu]]
 
[[Category:Installing OpenFOAM on Linux]] [[Category:Installing OpenFOAM on Ubuntu]]

Revision as of 19:53, 25 August 2016

1 Introduction

This page is dedicated to preparing an Ubuntu system for installing the foam-extend project OF Version 31ext.png.


2 Ubuntu versions

2.1 Ubuntu 12.04

Run the following command:

sudo apt-get update
sudo apt-get install git-core build-essential binutils-dev flex \
bison zlib1g-dev qt4-dev-tools libqt4-dev libncurses5-dev \
libxt-dev rpm mercurial graphviz

Then continue following the instructions on the previous page, subsection Get the source code.

2.2 Ubuntu 13.10

Follow the same steps as in Ubuntu 12.04.


2.3 Ubuntu 14.04

Run the following command:

sudo apt-get update
sudo apt-get install git-core build-essential binutils-dev cmake flex \
bison zlib1g-dev qt4-dev-tools libqt4-dev libncurses5-dev libiberty-dev \
libxt-dev rpm mercurial graphviz

Then continue following the instructions on the previous page, subsection Get the source code.

2.4 Ubuntu 16.04

Run the following command:

sudo apt-get update
sudo apt-get install git-core build-essential binutils-dev cmake flex \
zlib1g-dev qt4-dev-tools libqt4-dev libncurses5-dev libiberty-dev \
libxt-dev rpm mercurial graphviz python python-dev

Then follow the instructions on the previous page, subsection Get the source code.

Note: Before running Allwmake.firstInstall, you will need to run the following command to fix an issue with the Flex version:

find src applications -name "*.L" -type f | xargs sed -i -e 's=\(YY\_FLEX\_SUBMINOR\_VERSION\)=YY_FLEX_MINOR_VERSION < 6 \&\& \1='