Table of Contents
Installing Python with pkgsrc
Preflight
- Install pkgsrc on your Accelerator.
- Because, pkgsrc should handle dependencies for you, that’s it!
Prerequisites
If you wish to use Python for web applications (rather than for scripting tasks or other non-web applications), then you’ll need install a webserver first (although, there are webservers written in pure Python; the Python framework, cherrypy, for example includes one.)
- Install Apache 2.2 if you want to use Apache as a front-end proxy, mod_python, or Python with CGI/FCGI.
Installation
cd /opt/pkgsrc/lang/python-24/ && bmake install
To install mod_python:
cd /opt/pkgsrc/www/ap2-python/ && bmake install