Installation

From Yade

Installation browse

<categorytree mode=pages>Installation</categorytree>

If you have no idea what is linux and how to run yade at all, check out the step-by-step guide: New to linux?

For an almost copy/paste installation instructions specific to your linux distribution see below.

Download

Release

Grab the latest release from Launchpad yade-0.20-2 (1.7MB).

Latest BZR snapshot

If you want to look at the latest yade version from Launchpad, you can download it using one of the ways shown below:

bzr checkout lp:yade

Also check out a Quick Bazaar tutorial.

Daily repository snapshot: http://beta.arcig.cz/~eudoxos/yade/yade-trunk-latest.tar.bz2

Prerequistes

All libraries listed below must be installed with development headers. It's better to install them using your linux's distribution package management system, instead of downloading directly from the website.

Required packages

  • boost library 1.34 or later with components: date-time, filesystem, thread, regex, algorithm, foreach
  • qt3 library, including multithreading (-mt) component
  • freeglut3 / libglut3 development files
  • make
  • g++ (other compilers will most likely not work; you need g++>=4.2 for openMP support)
  • sqlite3
  • scons build system
  • python-dev, python-scientific, python-numeric

See also this page and the pages related to specific Linux distributions.

Optional packages

  • Ctags
  • Doxygen
  • wildmagic 3.11only if you want Delaunay triangulation support in lattice model
  • log4cxxonly if you want extensive logging support and debugging


Recommended installation method

Being inside the directory where you downloaded the sources (ex "yade" if you use bazaar), run this command to install yade as a local user without root privileages:

scons version=trunk PREFIX=/home/username/YADE optimize=1 features=gts,vtk,opengl,openmp,cgal,log4cxx

(If you have a machine that you are the only user on, you can instead change permission on /usr/local sudo chown username: /usr/local and still use default paths without special priviledges).

Replace username with your user name. Also check out scons options to quickly compile debug version or systemwide install from debian package (as a root user), etc.

Generating Doxygen files

If you want to get the latest Doxygen documentation, you just need to do the next:

cd trunk
scons doc

Be sure Doxygen and python-pygraphviz are installed.

You can take generated files in ./trunk/doc/doxygen/html/index.html

Distribution-specific instructions

Installation on other systems is described on separate pages. If you happen to install on a system not listed here, please add your description here

See also