Install SPIDER » History » Version 10
Neil Voss, 05/13/2010 09:04 AM
1 | 1 | Neil Voss | h1. Install SPIDER |
---|---|---|---|
2 | |||
3 | 7 | Neil Voss | h2. Download SPIDER binary "from wadsworth.org":http://www.wadsworth.org/spider_doc/spider/docs/spi-register.html (250 MiB) |
4 | 4 | Neil Voss | |
5 | 7 | Neil Voss | bq. Most of our SPIDER scripts were originally designed around SPIDER v14 and v15, but we are diligently working toward compatibility with SPIDER v18. That said you are probably best off using the newest version of SPIDER (v18.10 as of May 2010) and then reporting any bugs to us. |
6 | 1 | Neil Voss | |
7 | 7 | Neil Voss | h2. Extract the archive |
8 | |||
9 | <pre>tar -zxvf spiderweb.18.10.tar.gz</pre> |
||
10 | 1 | Neil Voss | |
11 | 9 | Neil Voss | bq. The archive will create 3 folders: spider, spire, and web. At this time only the *spider* program is used within Appion, you can safely ignore web and spire. |
12 | 8 | Neil Voss | |
13 | 10 | Neil Voss | h2. Install SPIDER |
14 | 1 | Neil Voss | |
15 | 10 | Neil Voss | * Copy the spider folder to global directory: |
16 | <pre>sudo mv -v spider /usr/local/</pre> |
||
17 | 1 | Neil Voss | |
18 | 10 | Neil Voss | * Next, you need to determine which version of the spider binary you need to use on your system. |
19 | |||
20 | |||
21 | <pre>sudo ln -sv /usr/local/spider/bin/spider /usr/local/</pre> |
||
22 | |||
23 | h2. Set environmental variables |
||
24 | |||
25 | h3. For @BASH@, create an spider.sh and add the following lines: |
||
26 | |||
27 | 1 | Neil Voss | <pre> |
28 | 10 | Neil Voss | export SPIDER=/usr/local/spider |
29 | export SPMAN_DIR=${SPIDER}/man |
||
30 | export SPPROC_DIR=${SPIDER}/proc |
||
31 | export SPRGB_DIR=${SPIDER}/rgb |
||
32 | 8 | Neil Voss | </pre> |
33 | 1 | Neil Voss | |
34 | 10 | Neil Voss | h3. For @C@ shell, create an spider.csh and add the following lines: |
35 | 1 | Neil Voss | |
36 | <pre> |
||
37 | 10 | Neil Voss | setenv SPIDER /usr/local/spider |
38 | setenv SPMAN_DIR ${SPIDER}/man |
||
39 | setenv SPPROC_DIR ${SPIDER}/proc |
||
40 | setenv SPRGB_DIR ${SPIDER}/rgb |
||
41 | 8 | Neil Voss | </pre> |
42 | |||
43 | h3. And then add it to the global /etc/profile.d/ folder |
||
44 | |||
45 | <pre> |
||
46 | 10 | Neil Voss | sudo cp -v spider.sh /etc/profile.d/spider.sh |
47 | sudo chmod 755 /etc/profile.d/spider.sh |
||
48 | 8 | Neil Voss | |
49 | 10 | Neil Voss | -or- |
50 | |||
51 | sudo cp -v spider.csh /etc/profile.d/spider.csh |
||
52 | sudo chmod 755 /etc/profile.d/spider.csh |
||
53 | 1 | Neil Voss | </pre> |
54 | |||
55 | |||
56 | [[Install EMAN|< Install EMAN]] | [[Install Xmipp|Install Xmipp >]] |