Project

General

Profile

Install EMAN » History » Revision 16

Revision 15 (Amber Herold, 04/28/2011 09:08 AM) → Revision 16/21 (Neil Voss, 08/13/2012 07:39 PM)

h1. Install EMAN 

 EMAN1 is a fundamental package used in Appion for general file conversion and image filtering. 

 h2. Download latest EMAN1 (not EMAN2) binaries (currently version 1.9): 

 # Go to the "EMAN webpage":http://blake.bcm.tmc.edu/eman/ 
 # Click on @(download)@ next to @EMAN1@ 
 # Scroll to Download 1.9 
 # Click on @Download 1.9@ link 
 # Select the appropriate package 
 #* we recommend using the @cluster@ version of EMAN1 
 #* x86 for 32bit and x86_64 for 64bit machines 
 #* In this case, we would download the "eman-linux-x86_64-cluster-1.9.tar.gz" 

 h2. Install EMAN 

 # Go to download directory and unzip the tar file: 
 <pre>tar -zxvf eman-linux-x86_64-cluster-1.9.tar.gz</pre> 
 # Move the unzipped folder to a global location 
 <pre>sudo mv -v EMAN /usr/local/</pre> 
 # Run the EMAN installer, it sets up the EMAN python module (must be run from the EMAN directory) 
 <pre> 
 cd /usr/local/EMAN/ 
 ./eman-installer 
 </pre> 

 h2. Set enivromental variables 

 #* For @BASH@, create an eman.sh and add the following lines: 
 <pre> 
 export EMANDIR=/usr/local/EMAN 
 export PATH=${EMANDIR}/bin:${PATH} 
 export LD_LIBRARY_PATH=${LD_LIBRARY_PATH}:${EMANDIR}/lib 
 export PYTHONPATH=${EMANDIR}/lib 
 </pre> 
 #* For @C@ shell, create an eman.csh and add the following lines: 
 <pre> 
 setenv EMANDIR /usr/local/EMAN 
 setenv PATH ${EMANDIR}/bin:${PATH} 
 setenv LD_LIBRARY_PATH ${EMANDIR}/lib 
 setenv PYTHONPATH ${EMANDIR}/lib 
 </pre> 
 #* And then add it to the global /etc/profile.d/ folder 
 <pre> 
 sudo cp -v eman.sh /etc/profile.d/eman.sh 
 sudo chmod 755 /etc/profile.d/eman.sh 

 - or - 

 sudo cp -v eman.csh /etc/profile.d/eman.csh 
 sudo chmod 755 /etc/profile.d/eman.csh 
 </pre> 

 bq. You may need to log out and log back in for these changes to take place. 

 h2. Test EMAN install 

 Run @proc2d@ 
 <pre>proc2d help</pre> 

 Should popup a window displaying help for proc2d 

 ______ 

 [[Install External Packages|< Install External Packages]] | [[Install EMAN2|Install EMAN2 SPIDER|Install SPIDER >]] 

 ______