Install EMAN » History » Version 16
Neil Voss, 08/13/2012 07:39 PM
1 | 1 | Neil Voss | h1. Install EMAN |
---|---|---|---|
2 | |||
3 | 15 | Amber Herold | EMAN1 is a fundamental package used in Appion for general file conversion and image filtering. |
4 | 4 | Neil Voss | |
5 | h2. Download latest EMAN1 (not EMAN2) binaries (currently version 1.9): |
||
6 | |||
7 | # Go to the "EMAN webpage":http://blake.bcm.tmc.edu/eman/ |
||
8 | 5 | Neil Voss | # Click on @(download)@ next to @EMAN1@ |
9 | # Scroll to Download 1.9 |
||
10 | # Click on @Download 1.9@ link |
||
11 | # Select the appropriate package |
||
12 | #* we recommend using the @cluster@ version of EMAN1 |
||
13 | #* x86 for 32bit and x86_64 for 64bit machines |
||
14 | #* In this case, we would download the "eman-linux-x86_64-cluster-1.9.tar.gz" |
||
15 | 13 | Neil Voss | |
16 | h2. Install EMAN |
||
17 | |||
18 | 5 | Neil Voss | # Go to download directory and unzip the tar file: |
19 | <pre>tar -zxvf eman-linux-x86_64-cluster-1.9.tar.gz</pre> |
||
20 | # Move the unzipped folder to a global location |
||
21 | <pre>sudo mv -v EMAN /usr/local/</pre> |
||
22 | 11 | Neil Voss | # Run the EMAN installer, it sets up the EMAN python module (must be run from the EMAN directory) |
23 | 5 | Neil Voss | <pre> |
24 | cd /usr/local/EMAN/ |
||
25 | ./eman-installer |
||
26 | 1 | Neil Voss | </pre> |
27 | 13 | Neil Voss | |
28 | h2. Set enivromental variables |
||
29 | |||
30 | 8 | Neil Voss | #* For @BASH@, create an eman.sh and add the following lines: |
31 | 1 | Neil Voss | <pre> |
32 | 8 | Neil Voss | export EMANDIR=/usr/local/EMAN |
33 | export PATH=${EMANDIR}/bin:${PATH} |
||
34 | export LD_LIBRARY_PATH=${LD_LIBRARY_PATH}:${EMANDIR}/lib |
||
35 | export PYTHONPATH=${EMANDIR}/lib |
||
36 | 5 | Neil Voss | </pre> |
37 | 8 | Neil Voss | #* For @C@ shell, create an eman.csh and add the following lines: |
38 | 5 | Neil Voss | <pre> |
39 | setenv EMANDIR /usr/local/EMAN |
||
40 | setenv PATH ${EMANDIR}/bin:${PATH} |
||
41 | 1 | Neil Voss | setenv LD_LIBRARY_PATH ${EMANDIR}/lib |
42 | setenv PYTHONPATH ${EMANDIR}/lib |
||
43 | </pre> |
||
44 | 5 | Neil Voss | #* And then add it to the global /etc/profile.d/ folder |
45 | <pre> |
||
46 | 8 | Neil Voss | sudo cp -v eman.sh /etc/profile.d/eman.sh |
47 | sudo chmod 755 /etc/profile.d/eman.sh |
||
48 | |||
49 | 14 | Neil Voss | - or - |
50 | |||
51 | 5 | Neil Voss | sudo cp -v eman.csh /etc/profile.d/eman.csh |
52 | sudo chmod 755 /etc/profile.d/eman.csh |
||
53 | 1 | Neil Voss | </pre> |
54 | 14 | Neil Voss | |
55 | bq. You may need to log out and log back in for these changes to take place. |
||
56 | 3 | Neil Voss | |
57 | 9 | Neil Voss | h2. Test EMAN install |
58 | |||
59 | Run @proc2d@ |
||
60 | 10 | Neil Voss | <pre>proc2d help</pre> |
61 | 9 | Neil Voss | |
62 | 10 | Neil Voss | Should popup a window displaying help for proc2d |
63 | 9 | Neil Voss | |
64 | 3 | Neil Voss | ______ |
65 | 2 | Neil Voss | |
66 | 16 | Neil Voss | [[Install External Packages|< Install External Packages]] | [[Install EMAN2|Install EMAN2 >]] |
67 | 3 | Neil Voss | |
68 | 1 | Neil Voss | ______ |