Project

General

Profile

Install EMAN » History » Version 13

Neil Voss, 05/13/2010 08:55 AM

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 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 5 Neil Voss
sudo cp -v eman.csh /etc/profile.d/eman.csh
50
sudo chmod 755 /etc/profile.d/eman.csh
51 1 Neil Voss
</pre>
52 3 Neil Voss
53 9 Neil Voss
h2. Test EMAN install
54
55
Run @proc2d@
56 10 Neil Voss
<pre>proc2d help</pre>
57 9 Neil Voss
58 10 Neil Voss
Should popup a window displaying help for proc2d
59 9 Neil Voss
60 3 Neil Voss
______
61 2 Neil Voss
62 12 Neil Voss
[[Install External Packages|< Install External Packages]] | [[Install SPIDER|Install SPIDER >]]
63 3 Neil Voss
64 1 Neil Voss
______