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

From Yade

(Replaced content with " =This page no longer exists, please visit the [https://www.yade-dem.org/doc/installation.html new documentation]= Category:Installation")
(18 intermediate revisions by 8 users not shown)
Line 1: Line 1:
{{Installation quick access}}{{clr}}
 
   
  +
=This page no longer exists, please visit the [https://www.yade-dem.org/doc/installation.html new documentation]=
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 [[DebianPackages#Installing_packages_on_your_system|pre-compiled packages]] build by launchpad PPA service once in a while, if you are running Ubuntu.
 
 
=Latest development version from sources=
 
Cut&paste the following commands to terminal
 
 
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 python-scientific bzr
 
 
bzr checkout lp:yade
 
 
cd yade
 
 
scons profile=default features=gts,log4cxx,opengl,openmp,vtk version=trunk PREFIX=/usr/local
 
 
yade-trunk
 
 
=Stable version 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 python-scientific
 
 
Optionally you might want to '''[[Installation_details#Installing_the_wildmagic_3_library_on_debian|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 [http://launchpad.net/yade/trunk/0.20-0/+download/yade-0.20-2.tar.bz2 yade-0.20-2] (1.7MB).
 
 
scons # installs to /usr/local by default
 
 
Other possible options are available with 'scons -h' command
 
 
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.
 
 
[[Category:Installation]]
 
[[Category:Installation]]

Revision as of 22:40, 22 November 2013

This page no longer exists, please visit the new documentation