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).
sudo vi /etc/postgresql/7.4/main/postgresql.confand change line 30 from:
# tcpip_socket = falseto:
tcpip_socket = truethen 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