• installing on karmic

last modified November 4, 2010 by egj

On a fresh Ubuntu Karmic server, here's some stuff you'll need, to install the full opencore stack.

python2.4 python2.4-dev build-essential libmysqlclient-dev mysql-server subversion wget apache2 libxml2-dev libxslt1-dev libsqlite3-dev php5 php5-mysql php5-cli libapache2-mod-php5 libjpeg62-dev

And emacs!

Note that (among other things) the build scripts assume you have wget, bash, tar, patch, make.

But we're on all lucid now, right?  See installing on lucid for help.


When I see a list of packages this long, I feel nervous and scared.  So I'll try to break it down and explain the dependencies.  This is an incomplete explanation.

  • python2.4 python2.4-dev: opencore will not run on versions of Python > 2.4.  This is because of the underlying zope/plone requirements.  More recent versions of Zope and Plone now support more recent versions of Python, but opencore is not yet known to work with them.
  • apache2 php5 php5-mysql php5-cli libapache2-mod-php5: these are required for the WordPress component.  OpenCore will not interfere with an existing Apache server; instead it generates a custom httpd.conf and uses the existing Apache binary to launch an instance listening on a different port for its own needs.
  • libjpeg62-dev: the OpenCore stack will build and run without this, but it is required for PIL image processing.  Specifically, trying to upload a project logo or user profile photo will fail silently if this is not installed.
  • libxml2-dev libxslt1-dev: these are required by lxml, which is used throughout the OpenCore stack, particularly in the Deliverance component.
  • subversion: at several points in the installation process, our scripts pull information from subversion servers.  Currently other version-control tools are not supported.
  • libmysqlclient-dev mysql-server: several of the components use MySQL for their database.  You will need the mysql root password to set up these databases. 



  • Additionally, in order to run the opencore test suite, you will need python-profiler.  You may need to add "multiverse" to /etc/apt/sources.list and run apt-get update first.
  • When setting up a new server for a site with old content, you may need to `apt-get install wv` as well.  This provides the wvHtml command which is used to display certain legacy wikipages which were originally uploads of Microsoft Word documents (a feature removed from the interface in 2007) 
  • Likewise lynx.