Joyent

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.)

  1. 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
 
accelerators/kb/pkgsrc/install-python.txt · Last modified: 2008/01/29 01:32 by alexbcoles
 
Recent changes RSS feed Creative Commons License Driven by DokuWiki