Install EMAN2 » History » Version 18
Neil Voss, 08/13/2012 08:22 PM
1 | 1 | Neil Voss | h1. Install EMAN2/SPARX |
---|---|---|---|
2 | |||
3 | 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. |
||
4 | 2 | Neil Voss | |
5 | 6 | Neil Voss | This documentation assumes you are using CentOS 6 (written as of CentOS 6.2) |
6 | |||
7 | h2. Install require pre-packages for EMAN2 compiling |
||
8 | |||
9 | 7 | Neil Voss | * Make sure EPEL is install, if not go here: [[Download additional Software (CentOS Specific)]] |
10 | * Use yum to install devel libraries: |
||
11 | <pre> |
||
12 | 10 | Neil Voss | sudo yum install fftw-devel gsl-devel boost-python numpy \ |
13 | 12 | Neil Voss | PyQt4-devel cmake ipython hdf5-devel libtiff-devel libpng-devel \ |
14 | 14 | Neil Voss | PyOpenGL ftgl-devel |
15 | 8 | Neil Voss | </pre> |
16 | |||
17 | 3 | Neil Voss | h2. Download the source |
18 | |||
19 | # To download the source code go to the link: |
||
20 | #* http://blake.bcm.edu/emanwiki/EMAN2 |
||
21 | # Click on *"Current stable version - direct link"* |
||
22 | # Go under the heading "Source" at bottom of page |
||
23 | 17 | Neil Voss | # Click to download the *eman-source-2.xx.tar.gz* file (as of August 2012, 2.xx is 2.06) |
24 | 3 | Neil Voss | |
25 | h2. Work with the source |
||
26 | |||
27 | # go to the directory with the source code |
||
28 | # extract the archive: |
||
29 | <pre> |
||
30 | tar zxvf eman-source-2.06.tar.gz |
||
31 | </pre> |
||
32 | 4 | Neil Voss | # go into directory |
33 | 1 | Neil Voss | <pre>cd EMAN2/src/build</pre> |
34 | 15 | Neil Voss | # start configure script: |
35 | <pre>cmake ../eman2/</pre> |
||
36 | 11 | Neil Voss | # start compiling: |
37 | 15 | Neil Voss | <pre>make</pre> |
38 | 18 | Neil Voss | # install to directory: |
39 | <pre>sudo make install</pre> |
||
40 | 3 | Neil Voss | |
41 | 16 | Neil Voss | h2. Test to see if code works |
42 | |||
43 | see http://blake.bcm.edu/emanwiki/EMAN2/FAQ/EMAN2_unittest |
||
44 | |||
45 | <pre> |
||
46 | cd EMAN2/test/rt |
||
47 | ./rt.py |
||
48 | </pre> |
||
49 | |||
50 | 3 | Neil Voss | h2. Documentation |
51 | |||
52 | * http://blake.bcm.edu/emanwiki/EMAN2/Install |
||
53 | 9 | Neil Voss | * http://blake.bcm.edu/emanwiki/EMAN2/FAQ/eman2BuildFAQ |
54 | 3 | Neil Voss | |
55 | 2 | Neil Voss | ______ |
56 | |||
57 | [[Install EMAN|< Install EMAN 1]] | [[Install SPIDER|Install SPIDER >]] |
||
58 | |||
59 | ______ |