Differences between revisions 6 and 10 (spanning 4 versions)
Revision 6 as of 2008-05-29 20:32:51
Size: 1807
Editor: gtang
Comment:
Revision 10 as of 2008-09-29 22:08:46
Size: 2180
Comment:
Deletions are marked like this. Additions are marked like this.
Line 2: Line 2:
Currently, only 10.5 is supported for EMAN2 nightly builds. Currently, only 10.5 is supported for EMAN2 nightly builds. The nightly snapshot for MAC isn't a nightly snapshot, it's a build from several months ago. If you want to use e2boxer on your MAC you will have to install from source as several critical updates have been committed since then.
Line 7: Line 7:
Note: In the following installation instruction, "/home/gtang" is my home directory. You should see your home directory name on your computer.
Line 28: Line 29:
This eman2.bashrc just provide some environment variables for EMAN2 and sparx. You can either add the source line to your .bashrc, or copy all the environment variable setting into your.bashrc file. Note: if you are using some kind of c shell, you will see the eman2.chsrc file. The binary EMAN2 use the Python interpreter comes with EMAN2. The eman2-installer will automatically change python interpreter in python files in EMAN2 to (for my installation):{{{ {{{#!/home/gtang/EMAN2/python/Python-2.5.1-ucs4/bin/python}}}}}} So, you need run this python interpreter for EMAN2. Or if you write script for EMAN2, you need add that line to the beginning of your script. This eman2.bashrc just provide some environment variables for EMAN2 and sparx. You can either add the source line to your .bashrc, or copy all the environment variable setting into your.bashrc file. Note: if you are using some kind of c shell, you will see the eman2.chsrc file. The binary EMAN2 use the Python interpreter comes with EMAN2. The eman2-installer will automatically change python interpreter in python files in EMAN2 to (for my installation):

{{{#!/home/gtang/EMAN2/python/Python-2.5.1-ucs4/bin/python}}}

So, you need run this python interpreter for EMAN2. Or if you write script for EMAN2, you need add that line to the beginning of your script.

Mac OS X

Currently, only 10.5 is supported for EMAN2 nightly builds. The nightly snapshot for MAC isn't a nightly snapshot, it's a build from several months ago. If you want to use e2boxer on your MAC you will have to install from source as several critical updates have been committed since then.

Visit the EMAN2 nightly page and download the disk image .dmg package. It includes an EMAN2 directory and a set of installation instructions in INSTALL.txt. The instructions contain a few simple steps to get the EMAN2 build up and running on your machine.

Linux

Note: In the following installation instruction, "/home/gtang" is my home directory. You should see your home directory name on your computer. EMAN2 provide two nightly builds for Linux: eman2.nightly.linux.tar.bz2 is for 32 bit Linux (i386). eman2.nightly.linux64.tar.bz2 is for 64 bit Linux (x86_64). To install this binary release, for example, on 64 bit Linux: download eman2.nightly.linux64.tar.bz2 to your home directory.

$tar xvjf eman2.nightly.linux64.tar.bz2
$cd EMAN2
$./eman2-installer
Which Python version you want to choose:
1 - Python 2.5 UCS4
2 - Python 2.5 UCS2
3 - Python 2.4 UCS4
4 - Pyhton 2.4 UCS2
5 - Pyhton 2.3 UCS4
6 - Python 2.3 UCS2
[Default is 1 (Pyhton 2.5 UCS4)]
(make your choice here, or type enter for default)

Then you will see at the end of the output:

Please add the following line to the end of your /home/gtang/.bashrc
source /home/gtang/EMAN2/eman2.bashrc

This eman2.bashrc just provide some environment variables for EMAN2 and sparx. You can either add the source line to your .bashrc, or copy all the environment variable setting into your.bashrc file. Note: if you are using some kind of c shell, you will see the eman2.chsrc file. The binary EMAN2 use the Python interpreter comes with EMAN2. The eman2-installer will automatically change python interpreter in python files in EMAN2 to (for my installation):

#!/home/gtang/EMAN2/python/Python-2.5.1-ucs4/bin/python

So, you need run this python interpreter for EMAN2. Or if you write script for EMAN2, you need add that line to the beginning of your script.

EMAN2/Install/BinaryInstall (last edited 2017-12-27 01:56:26 by RJEdwards)