Project

General

Profile

Install EMAN » History » Version 17

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