Install EMAN » History » Version 11
Neil Voss, 05/12/2010 02:40 PM
| 1 | 1 | Neil Voss | h1. Install EMAN |
|---|---|---|---|
| 2 | |||
| 3 | 4 | Neil Voss | EMAN1 is a fundamental package used in appion for general file conversion and image filtering. |
| 4 | |||
| 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 | # Go to download directory and unzip the tar file: |
||
| 16 | <pre>tar -zxvf eman-linux-x86_64-cluster-1.9.tar.gz</pre> |
||
| 17 | # Move the unzipped folder to a global location |
||
| 18 | <pre>sudo mv -v EMAN /usr/local/</pre> |
||
| 19 | 11 | Neil Voss | # Run the EMAN installer, it sets up the EMAN python module (must be run from the EMAN directory) |
| 20 | 5 | Neil Voss | <pre> |
| 21 | cd /usr/local/EMAN/ |
||
| 22 | ./eman-installer |
||
| 23 | </pre> |
||
| 24 | 8 | Neil Voss | # Set enivromental variables |
| 25 | #* For @BASH@, create an eman.sh and add the following lines: |
||
| 26 | 1 | Neil Voss | <pre> |
| 27 | 8 | Neil Voss | export EMANDIR=/usr/local/EMAN |
| 28 | export PATH=${EMANDIR}/bin:${PATH} |
||
| 29 | export LD_LIBRARY_PATH=${LD_LIBRARY_PATH}:${EMANDIR}/lib |
||
| 30 | export PYTHONPATH=${EMANDIR}/lib |
||
| 31 | 5 | Neil Voss | </pre> |
| 32 | 8 | Neil Voss | #* For @C@ shell, create an eman.csh and add the following lines: |
| 33 | 5 | Neil Voss | <pre> |
| 34 | setenv EMANDIR /usr/local/EMAN |
||
| 35 | setenv PATH ${EMANDIR}/bin:${PATH} |
||
| 36 | 1 | Neil Voss | setenv LD_LIBRARY_PATH ${EMANDIR}/lib |
| 37 | setenv PYTHONPATH ${EMANDIR}/lib |
||
| 38 | </pre> |
||
| 39 | 5 | Neil Voss | #* And then add it to the global /etc/profile.d/ folder |
| 40 | <pre> |
||
| 41 | 8 | Neil Voss | sudo cp -v eman.sh /etc/profile.d/eman.sh |
| 42 | sudo chmod 755 /etc/profile.d/eman.sh |
||
| 43 | |||
| 44 | 5 | Neil Voss | sudo cp -v eman.csh /etc/profile.d/eman.csh |
| 45 | sudo chmod 755 /etc/profile.d/eman.csh |
||
| 46 | 1 | Neil Voss | </pre> |
| 47 | 3 | Neil Voss | |
| 48 | 9 | Neil Voss | h2. Test EMAN install |
| 49 | |||
| 50 | Run @proc2d@ |
||
| 51 | 10 | Neil Voss | <pre>proc2d help</pre> |
| 52 | 9 | Neil Voss | |
| 53 | 10 | Neil Voss | Should popup a window displaying help for proc2d |
| 54 | 9 | Neil Voss | |
| 55 | 3 | Neil Voss | ______ |
| 56 | 2 | Neil Voss | |
| 57 | 3 | Neil Voss | [[Install External Packages|< Install External Packages]] | [[Compile FindEM|Compile FindEM >]] |
| 58 | |||
| 59 | 1 | Neil Voss | ______ |