Install ISIS-NBP on Linux/Unix

1. Obtain ISIS-NBP source code from the 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 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 Python 2.5.2.


3. Install Twisted

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

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

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.

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:

tar xvzf PyOpenSSL-0.7.tar.gz

  • Install it (require root privileges):

cd pyOpenSSL-0.7; python setup.py install


10. Install PyCrypto?

tar xvzf pycrypto-2.0.1.tar.gz

  • Install it (require root privileges):

cd pycrypto-2.0.1; python setup.py install

Attachments