Install EMAN2 » History » Revision 20
Revision 19 (Neil Voss, 08/13/2012 08:23 PM) → Revision 20/87 (Neil Voss, 08/13/2012 08:26 PM)
h1. Install EMAN2/SPARX
It is best to install EMAN2/SPARX from source, so that do not have conflicts with having two different versions of python on your system. Binaries of EMAN2/SPARX all come with their own python pre-installed.
This documentation assumes you are using CentOS 6 (written as of CentOS 6.2)
h2. Install require pre-packages for EMAN2 compiling
* Make sure EPEL is install, if not go here: [[Download additional Software (CentOS Specific)]]
* Use yum to install devel libraries:
<pre>
sudo yum install fftw-devel gsl-devel boost-python numpy \
PyQt4-devel cmake ipython hdf5-devel libtiff-devel libpng-devel \
PyOpenGL ftgl-devel db4-devel
</pre>
h2. Download the source
# To download the source code go to the link:
#* http://blake.bcm.edu/emanwiki/EMAN2
# Click on *"Current stable version - direct link"*
# Go under the heading "Source" at bottom of page
# Click to download the *eman-source-2.xx.tar.gz* file (as of August 2012, 2.xx is 2.06)
h2. Work with the source
# go to the directory with the source code
# extract the archive:
<pre>
tar zxvf eman-source-2.06.tar.gz
</pre>
# go into directory
<pre>cd EMAN2/src/build</pre>
# start configure script:
<pre>cmake ../eman2/</pre>
#* Note: alternatively you can run @ccmake ../eman2/@ and configure all the parameters
# start compiling:
<pre>make</pre>
# install to directory:
<pre>sudo make install</pre>
h2. Test to see if code works
see http://blake.bcm.edu/emanwiki/EMAN2/FAQ/EMAN2_unittest
<pre>
cd EMAN2/test/rt
./rt.py
</pre>
h2. Documentation
* http://blake.bcm.edu/emanwiki/EMAN2/Install
* http://blake.bcm.edu/emanwiki/EMAN2/FAQ/eman2BuildFAQ
______
[[Install EMAN|< Install EMAN 1]] | [[Install SPIDER|Install SPIDER >]]
______