Installing EPrints on Debian/Ubuntu

From EPrints Documentation
Revision as of 16:03, 23 November 2008 by DaveTarrant (talk | contribs)
Jump to: navigation, search

Download an appropriate EPrints Release


David Tarrant has built a Debian/Ubuntu package for Eprints.

Stable Release

Add the following to /etc/apt/sources.list:

deb http://deb.eprints.org/ stable/
deb-src http://deb.eprints.org/ source/

Unstable Release

To install the latest unstable release add the following to /etc/apt/sources.list:

deb http://deb.eprints.org/ unstable/
deb-src http://deb.eprints.org/ source/

3.1

To install the latest 3.1 unstable release add the following to /etc/apt/sources.list:

deb http://deb.eprints.org/3.1/ unstable/
deb http://deb.eprints.org/3.1/ source/

Do not add both the stable and unstable repositories.

Installing Eprints via apt-get

To install Eprints and all its dependencies execute the following:

apt-get update
apt-get install eprints

Setting up a Repository

You should now have a working installation of eprints in /usr/share/eprints3/. Please follow the on-screen instructions to set up an eprints repository. You probably want to start with (as root):

su eprints
cd
./bin/epadmin create
logout
a2ensite eprints3
apache2ctl reload

Known issues with the Debian/Ubuntu package can be found at Debian Known Issues.

Getting and Compiling from Source

To install dependencies and retrieve the Eprints source execute the following:

apt-get update
apt-get build-dep eprints
apt-get source eprints

The source will be saved to a tarball in the current directory.