Difference between revisions of "Installation of yade on debian / ubuntu"

From Yade

Line 21: Line 21:
 
==Download and compile Yade==
 
==Download and compile Yade==
   
  +
Grab the latest release from Launchpad [http://launchpad.net/yade/trunk/0.20-0/+download/yade-0.20-2.tar.bz2 yade-0.20-2] (1.7MB).
Download and unpack:
 
wget [http://beta.arcig.cz/~eudoxos/yade/yade-0.12rc1.tar.bz2 http://beta.arcig.cz/~eudoxos/yade/yade-0.12rc1.tar.bz2]
 
 
 
 
scons PREFIX=/home/''username''/YADE optimize=1 # installs to /usr/local by default
BUT DOES NOT TRY TO GET THIS FILE BECAUSE THE COMPUTER IS UNREACHABLE. YOU MY FIND yade-0.12.1.tar.bz2 SOMEWHERE ELSE
 
tar xvzj yade-0.12rc1.tar.bz2
 
 
BUT THE INSTRUCTION ABOVE IS CONFLICTING, YOU MAY TRY tar jxvf yade-0.12.1.tar.bz2
 
cd yade-0.12rc1
 
 
 
scons PREFIX=/home/''username''/YADE optimize=1 # installs to /usr/local by default
 
 
 
IT WAS TOO SHORT, MAY BE IT WAS NOT INSTALLED PROPERLY!
 
   
 
Replace <tt>''username''</tt> with your user name. Be sure to check out scons options on [[Installation_details#Scons_options|installation details page]] for optimized builds or different installation directory.
 
Replace <tt>''username''</tt> with your user name. Be sure to check out scons options on [[Installation_details#Scons_options|installation details page]] for optimized builds or different installation directory.

Revision as of 17:02, 15 January 2010

Installation browse

<categorytree mode=pages>Installation</categorytree>


You should be running at least Debian Lenny / Ubuntu Hardy Heron (8.04) to have required version of dependencies.

Using prepackaged version

You can use pre-compiled packages build by launchpad PPA service once in a while, if you are running Ubuntu.

Manual installation from sources

Installing dependecies (cut&paste to terminal all together):

sudo aptitude install scons libqt3-mt-dev qt3-dev-tools freeglut3-dev \   
libboost-date-time-dev libboost-filesystem-dev libboost-thread-dev \   
libboost-regex-dev fakeroot dpkg-dev build-essential g++ \   
libboost-iostreams-dev liblog4cxx10-dev python-dev libboost-python-dev ipython \   
python-matplotlib libsqlite3-dev python-numeric python-tk gnuplot doxygen \
libgts-dev python-pygraphviz libvtk5-dev

Optionally you might want to install the wildmagic 3 library, which can be used by Lattice Geometrical Model. But is not absolutely necassary (used only for Delaunay mesh generation method in lattice model).

Make sure that you have boost 1.34 or higher

Download and compile Yade

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

scons PREFIX=/home/username/YADE optimize=1 # installs to /usr/local by default

Replace username with your user name. Be sure to check out scons options on installation details page for optimized builds or different installation directory.