Difference between revisions of "Installation"

From Yade

(Replaced content with "=This page is deprecated, please find up-to-date information at [https://yade-dem.org/doc/installation.html yade-dem.org]=")
 
(12 intermediate revisions by 5 users not shown)
Line 1: Line 1:
  +
=This page is deprecated, please find up-to-date information at [https://yade-dem.org/doc/installation.html yade-dem.org]=
{{Installation quick access}}
 
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 [[Installation#Distribution-specific instructions|your linux distribution]] see below.
 
 
=Download=
 
 
==Release==
 
 
Grab the latest release and check out the '''[[Changelog]]''' for a summary of updates.
 
 
{| border="1" cellpadding="5" cellspacing="0" style="border-collapse:collapse;" width="100%"
 
! width="20%" | ''name''
 
! width="5%" | ''MB''
 
! width="7%" | ''version''
 
! width="7%" | ''license''
 
! ''description''
 
|-
 
| [http://download.berlios.de/yade/yade-0.12.1.tar.bz2 yade-0.12.1.tar.bz2]   
 
| 2.0
 
| 0.12.1
 
| GPL mostly<sup>*</sup>
 
| Yet Another Dynamic Engine, a discrete modelling framework
 
|-
 
| [http://download.berlios.de/yade/yade-examples-0.11.0.tar.gz yade-examples-0.11.0.tar.gz]&nbsp;&nbsp;&nbsp;
 
| 0.012
 
| 0.11.0 <strong>obsolete</strong>
 
| GPL
 
| Yade example files.
 
|}
 
<small><sup>*</sup>also LGPL and MIT licenses: LOKI libary uses [http://www.ibiblio.org/pub/Linux/LICENSES/mit.license MIT] license. Mini-Wm3 uses LGPL license.</small>
 
 
You can unpack downloaded files with terminal command <code>tar -xvjf ./yade-0.12.1.tar.bz2</code>
 
 
==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
 
 
 
Which one of those above will work depends on your network and firewall configuration.
 
 
Also check out a '''[[Quick_Bazaar_tutorial | Quick Bazaar tutorial]]'''.
 
 
= 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 ==
 
* [http://www.boost.org boost library] 1.34 or later with components: ''date-time'', ''filesystem'', ''thread'', ''regex'', ''algorithm'', ''foreach''
 
* [http://trolltech.com/products/qt/qt3 qt3 library], including ''multithreading'' (<tt>-mt</tt>) component
 
* freeglut3 / libglut3 development files
 
* make
 
* g++ (other compilers will most likely not work; you need g++>=4.2 for openMP support)
 
* sqlite3
 
* [http://www.scons.org/ scons build system]
 
 
== Optional packages ==
 
* Ctags
 
* Doxygen
 
* [http://www.geometrictools.com/Downloads/Downloads.html wildmagic 3.11] ─ <small>only if you want Delaunay triangulation support in lattice model</small>
 
* [http://logging.apache.org/log4cxx/ log4cxx] ─ <small>only if you want extensive logging support and debugging</small>
 
* python-dev, python-scientific, python-numeric ─ <small>only if you want python scripting interface</small> (you need boost 1.34)
 
 
= 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 PREFIX=/home/''username''/YADE optimize=1
 
 
(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 <tt>''username''</tt> with your user name. Also check out '''[[installation details#Scons options|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
 
 
*[[Installation of yade on debian or kubuntu]]
 
*[[Installation of yade on gentoo]]
 
*[[Installation of yade on fedora]]
 
 
=See also=
 
 
* '''[[Installation details]]'''
 
* '''[[Reported problems]]'''
 
* [[Quick_Bazaar_tutorial | Quick Bazaar tutorial]]
 
* [[New to linux?]]
 
[[Category:Installation]]
 

Latest revision as of 13:30, 15 March 2013

This page is deprecated, please find up-to-date information at yade-dem.org