= Install ISIS-NBP on Linux/Unix = 1. Obtain ISIS-NBP source code from the [http://subversion.tigris.org Subversion] repository, with the command: {{{ svn co http://svn.reddes.bvsalud.org/isisnbp/isisnbp-poc/trunk/pyisis }}} To checkout the code, inform the user '''anonymous''' and password '''4guests@''' If you do not have a Subversion client installed in your machine, you can learn how to obtained it and installed it [http://subversion.tigris.org/getting.html here]. ---- 2. Install Python. Most Linux distros come with Python already installed. To check if your Linux system has the appropriate Python version type the command: {{{ python -V }}} The output should be: {{{ Python 2.5.2 }}} In case you do not have Python installed, or if you have a different version please proceed to install [http://python.org/download/ Python 2.5.2]. ---- 3. Install Twisted * Obtain Twisted 8.2.0 from [http://twistedmatrix.com/trac/wiki/Downloads] * Install it with the command (require root privileges): {{{ cd Twisted-8.2.0; python setup.py install }}} Obs.: To remove Python 2.6 deprecation warnings, checkout code from the repository: {{{ svn co svn://svn.twistedmatrix.com/svn/Twisted/trunk }}} ---- 4. ~~Install !PyReadline~~ '''Unnecessary in Linux (and breaks readline functionality) * Obtain !PyReadline {{{ svn co http://ipython.scipy.org/svn/ipython/pyreadline/trunk pyreadline }}} * Install it with the command (require root privileges): {{{ cd pyreadline; python setup.py install }}} ---- 5. Install IPython * Download [http://ipython.scipy.org/dist/ipython-0.8.4.tar.gz IPython-0.8.4] * Uncompress it: {{{ tar xvzf ipython-0.8.4.tar.gz }}} * Install it (require root privileges): {{{ cd ipython-0.8.4; python setup.py install }}} ---- 6. Install Django * Obtain Django 1.0 source code from the with the command: {{{ svn co http://code.djangoproject.com/svn/django/trunk/ django }}} * Install it (require root privileges): {{{ cd django; python setup.py install }}} ---- 7. Install ZODB * Download [http://pypi.python.org/pypi/ZODB3/3.8.2] * Uncompress and install it: {{{ tar -xvzf ZODB3-3.8.2.tar.gz }}} {{{ cd ZODB3-3.8.2 }}} {{{ python setup.py install }}} ---- 8. Install Nosetest In order to support the automatic test suite, you should obtain nosetest. In you can safely skip this step otherwise. * Download [http://somethingaboutorange.com/mrl/projects/nose/nose-0.10.3.tar.gz nose-0.10.3] * Uncompress it: {{{ tar xvzf nose-0.10.3.tar.gz }}} * Install it (require root privileges): {{{ cd nose-0.10.3; python setup.py install }}} ---- In order to support the SSH remote console, you should obtain PyOpenSSL-0.7 and PyCrypto-2.0.1. In case you do not need SSH support you can safely skip this step. 9. Install PyOpenSSL If you want to try the SSH remote console, do the following: * Download [http://pyopenssl.sourceforge.net/ PyOpenSSL] * Uncompress it: {{{ tar xvzf PyOpenSSL-0.7.tar.gz }}} * Install it (require root privileges): {{{ cd pyOpenSSL-0.7; python setup.py install }}} ---- 10. Install PyCrypto * Download [http://www.amk.ca/files/python/crypto/pycrypto-2.0.1.tar.gz PyCrypto] * Uncompress it: {{{ tar xvzf pycrypto-2.0.1.tar.gz }}} * Install it (require root privileges): {{{ cd pycrypto-2.0.1; python setup.py install }}}