Personal tools
  • We're Hiring!

You are here: Home Documentation Previous versions OME Server Installation Platform-specific Debian / Ubuntu

Debian / Ubuntu

Curtis Rueden (January 2007); Chris Allan (March 2005)

This addendum is based on package names from Ubuntu Dapper. If you're running Debian testing or unstable, or Ubuntu Edgy or Breezy, most if not all of the package names will be the same. You may need to search for some using apt-cache. Some packages will change names over time and we will attempt to keep this list as up to date as possible. Lastly, for Ubuntu, you will need to enable the Universe repository for some of the packages.

It is recommended that you use the package manager (e.g., apt or synaptic) to install the libraries and Perl modules that OME requires, with the exception of DBD::Pg (more on that below).

Core package install

To install all the OME prerequisites, execute the following as root:

apt-get install perl perl-doc apache2 apache2-doc gcc \
  postgresql postgresql-client postgresql-dev postgresql-doc \
  libapache2-mod-perl2 libapache2-mod-perl2-doc automake1.9

OME works with either Apache or Apache2 (so you can use apache, apache-doc, libapache-mod-perl and libapache-mod-perl-doc instead of apache2, apache2-doc, libapache2-mod-perl2 and libapache2-mod-perl2-doc if you prefer). If you are running Debian stable (sarge), however, OME will not work correctly with Apache2. We strongly recommend you either use Apache 1.x, or upgrade to Debian testing (etch) or unstable (sid).

There is a problem with postgresql in Ubuntu Breezy (bug #33996) that causes the following error message upon postgresql installation: "The PostgreSQL server failed to start. Please check the log output: /usr/lib/postgresql/7.4/bin/postmaster: TCP/IP connections must be enabled for SSL." The workaround is to edit the postgres.conf file for the 7.4 version:
sudo vi /etc/postgresql/7.4/main/postgresql.conf
and change line 30 from:
# tcpip_socket = false
to:
tcpip_socket = true
then execute:
sudo /etc/init.d/postgresql-7.4 restart

C library install

To install all the OME prerequisites, execute the following (the development packages are important and required):

apt-get install openssl libssl-dev libpng3 libpng3-dev libtiff4 \
  libtiff4-dev libgd2 libgd-gd2-perl libgd2-dev libxml2 libxml2-dev \
  libxslt1.1 libxslt1-dev bzip2 libbz2-dev zlib1g zlib1g-dev \
  libdb4.3 libdb4.3-dev libcurl3 libcurl3-dev

For Ubuntu Edgy, use libgd2-xpm and libgd2-xpm-dev instead of libgd2 and libgd2-dev, respectively.

Perl module install

To install all the OME prerequisites, execute the following:

apt-get install libdbi-perl liblog-agent-perl libterm-readkey-perl \
  libipc-run-perl libclass-accessor-perl libexporter-lite-perl \
  libuniversal-exports-perl liburi-perl \
  libhtml-tagset-perl libhtml-parser-perl libparse-recdescent-perl \
  libinline-perl libclass-data-inheritable-perl \
  libxml-namespacesupport-perl libxml-sax-perl \
  libxml-libxml-common-perl libxml-libxslt-perl \
  libcarp-assert-perl libcompress-zlib-perl libhtml-template-perl \
  libxml-parser-perl libsoap-lite-perl libole-storage-lite-perl \
  libspreadsheet-parseexcel-perl
The only prerequisite not included above is DBD::Pg (libdbd-pg-perl), because many versions of it (including the newest ones) are incompatible with OME (see the Prerequisites page for a list of known good versions). It is probably easiest to specifically not install it, then answer yes when prompted to download and install DBD::Pg from the OME repository—that way, you know you will get a working version and avoid cryptic dbd errors later on.
Document Actions