Installing EPrints on Debian/Ubuntu

From EPrints Documentation
Revision as of 15:02, 3 April 2008 by DaveTarrant (talk | contribs) (3.1 Beta)
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/

*NEW* 3.1 Beta

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

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.