Home | Download/Install | Documentation | Packages | Screenshots | News | Forum/Mailing-lists | Contact | GForge

Fedora 11 and Fedora 12: OpenAlea, VPlants and Alinea installation from sources

If you want to install from the source, follow the instructions below.

If you do not have access to the SVN repository, see also installation_from_targz Fedora 11 If starting from FRESH installation, install SVN and virtualenv

  sudo yum install python-virtualenv ipython vim subversion patch vim firefox
  

Installing the dependencies

Fedora 12

Click to display ⇲

Click to hide ⇱

Click to hide ⇱

Runtime dependencies:
  # requested by openalea/vplants
  sudo yum install scipy numpy python-matplotlib rpy
  sudo yum install freeglut qhull CGAL
  sudo yum install PyQt4 qt 

Compilation dependencies:

  sudo yum install gcc gcc-c++ # standard compilation
  sudo yum install PyQt4 qt #PyQGLViewer
  sudo yum install qt4-devel # PlantGL compilation
  sudo yum install sip-devel PyQt4-devel # for PyQGLViewer
  
  # dependencies for vplants compilation
  sudo yum install bison flex              # PlantGL compilation
  sudo yum install CGAL-devel                   # to compile PlantGL with CGAL
  sudo yum install qhull-devel ncurses-devel  # PlantGL compilation
  sudo yum install readline-devel glut-devel  # PlantGL compilation
  
  sudo yum install SOAPpy # for developers who want to upload eggs
  

Fedora 11

Click to display ⇲

Click to hide ⇱

Click to hide ⇱

OpenAlea, VPlants and Alinea depends on several packages. Install them

Runtime dependencies:

  # requested by openalea/vplants
  sudo yum install scipy numpy python-matplotlib rpy
  sudo yum install freeglut qhull CGAL
  sudo yum install PyQt4 qt 

Compilation dependencies:

  sudo yum install gcc gcc-c++ # standard compilation
  sudo yum install PyQt4 qt #PyQGLViewer
  sudo yum install qt4-devel # PlantGL compilation
  sudo yum install sip-devel PyQt4-devel # for PyQGLViewer
  # dependencies for vplants compilation
  sudo yum install bison flex              # PlantGL compilation
  sudo yum install libcgal-dev                   # to compile PlantGL with CGAL
  sudo yum install libqhull-dev libncurses5-dev  # PlantGL compilation
  sudo yum install libreadline5-dev libglut-dev  # PlantGL compilation
 
  sudo yum install python-soappy # for developers who want to upload eggs 

Compilation

Click to display ⇲

Click to hide ⇱

Click to hide ⇱

Create a virtual environment and checkout the sources (change username and possibly the path to the SVN sources; here we checkk out the trunk)
  virtualenv compilation_from_sources
  cd compilation_from_sources
  source bin/activate # activate virtual environment
  svn co --username <username> https://scm.gforge.inria.fr/svn/openalea/trunk openalea

Compile and install openalea

  cd openalea
  make install
  cd ..

Install scons from the gforge (patched version)

  alea_install scons

Compile and install vplants

  svn co --username <username> https://scm.gforge.inria.fr/svn/vplants/vplants/trunk vplants
  cd vplants
  make install

Compile and install alinea

  svn co --username <username> https://scm.gforge.inria.fr/svn/openaleapkg openaleapkg
  cd openaleapkg
  make_develop install -p alinea -d .  # make_develop is an openalea script

Install latest version of matplotlib

Click to display ⇲

Click to hide ⇱

Click to hide ⇱

Possibly, in a NORMAL SHELL, you may want to install the latest version of matplotlib
    wget http://gforge.inria.fr/frs/download.php/23396/matplotlib-0.99.0.tar.gz
    tar xvfz matplotlib-0.99.0.tar.gz
    cd matplotlib-0.99.0
    python setup.py install

Install PyQGLViewer to get all functionalities in lpy

Click to display ⇲

Click to hide ⇱

Click to hide ⇱

In order to get all functionalities in lpy, you want to install pyqglviewer.

PyQGLViewer installation

 
documentation/user/fedora.txt · Last modified: 2013/06/19 14:19 by user   Back to top
INRIA   INRA     CIRAD     AGROPOLIS IBC
INRIA GForge RSS feed Valid XHTML 1.0 Valid CSS Driven by DokuWiki