24 | | |
25 | | In order to install Orio to an alternate location, users need to supply a base directory for the installation. For instance, the following command will install an `orcc` script under `/home/username/bin`, and also put an `orio` module under `/home/username/lib/python/site-packages`. |
26 | | |
27 | | {{{ |
28 | | % tar -xvzf orio.tar.gz |
29 | | % cd orio |
30 | | % python setup.py install --prefix=/home/username |
31 | | }}} |
32 | | |
33 | | It is also important to ensure that the installed Orio module location is included in the PYTHONPATH environment variable. Similarly, users can optionally include the installed `orcc` script location in the PATH shell variable. To do this for the above example, the following two lines can be added in the `.bashrc` configuration file (assuming the user uses Bash shell of course). |
34 | | |
35 | | {{{ |
36 | | export PYTHONPATH=$PYTHONPATH:/home/username/lib/python/site-packages |
37 | | export PATH=$PATH:/home/username/bin |
38 | | }}} |
| 41 | In order to install Orio to an alternate location, users need to supply a base directory for the installation. For instance, the following command will install an `orcc` script under `/home/username/bin`, and also put an `orio` module under `/home/username/lib/python/site-packages`. |
| 42 | |
| 43 | {{{ |
| 44 | % tar -xvzf orio.tar.gz |
| 45 | % cd orio |
| 46 | % python setup.py install --prefix=/home/username |
| 47 | }}} |
| 48 | |
| 49 | It is also important to ensure that the installed Orio module location is included in the PYTHONPATH environment variable. Similarly, users can optionally include the installed `orcc` script location in the PATH shell variable. To do this for the above example, the following two lines can be added in the `.bashrc` configuration file (assuming the user uses Bash shell of course). |
| 50 | |
| 51 | {{{ |
| 52 | export PYTHONPATH=$PYTHONPATH:/home/username/lib/python/site-packages |
| 53 | export PATH=$PATH:/home/username/bin |
| 54 | }}} |
| 55 | |