Version 25 (modified by 11 years ago) ( diff ) | ,
---|
Installation Guidelines: Linux - Developer (Manual)
Install Python
The latest Python 2.7 version is currently recommended.
For Debian-based systems like Ubuntu:
sudo su - apt-get install python2.7
Install Python Libraries
Linux users should generally use the packages provided for their specific distribution, where available.
If you wish to then you can use VirtualEnv
Mandatory
- lxml for XML export/import
- Shapely for GIS Features
- ReportLab for PDF output
- PIL Python Image Library for PDFs
- dateutil
On Debian-based systems, like Ubuntu:
sudo su - apt-get install python-lxml apt-get install python-shapely apt-get install python-reportlab apt-get install python-imaging apt-get install python-dateutil
Optional
- xlwt for XLS output
- xlrd for XLS output & reading spreadsheets (used by survey to import data held on a spreadsheet)
- numpy required by matplotlib
- MatPlotLib for charts (used in the Survey & Delphi applications & for the S3Report pivottable reports)
- setuptools for installing tweepy (more on installing python eggs)
- tweepy python library to interact with twitter (egg)
- Pyserial for SMS Features
- PyTZ for Timezone awareness
- PyWURFL for Browser Capabilities (egg - unused currently)
- PyRTF for Survey Forms as Documents.
On Debian-based systems, like Ubuntu:
sudo su - apt-get install python-xlwt apt-get install python-xlrd apt-get install python-numpy apt-get install python-matplotlib apt-get install python-setuptools easy_install http://pypi.python.org/packages/2.7/t/tweepy/tweepy-1.9-py2.7.egg #(check if latest) apt-get install python-serial apt-get install python-tz easy_install http://pypi.python.org/packages/2.6/p/pywurfl/pywurfl-7.2.1-py2.6.egg #(unused so might not want to install) # Download and extract PyRTF from http://sourceforge.net/projects/pyrtf/files/latest/download python setup.py install apt-get install python-mysqldb apt-get install python-psycopg2
Install git
We use the git Distributed Version Control System.
- Debian-based systems, like Ubuntu:
sudo su - apt-get install git-core
- For RPM-based sitributions, like Fedora or RHEL: ===
yum install git
Next
Configure git; install Web2Py and Sahana Eden:
Note:
See TracWiki
for help on using the wiki.