Difference between revisions of "Installing EPrints on Debian/Ubuntu"

From EPrints Documentation
Jump to: navigation, search
(OR08 3.1 Alpha release details)
Line 16: Line 16:
 
  deb http://deb.eprints.org/ unstable/
 
  deb http://deb.eprints.org/ unstable/
 
  deb-src http://deb.eprints.org/ source/
 
  deb-src http://deb.eprints.org/ source/
 +
 +
===*NEW* 3.1 Alpha===
 +
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.
 
Do '''not''' add both the stable and unstable repositories.
  
====Installing Eprints via apt-get====
+
===Installing Eprints via apt-get===
  
 
To install Eprints and all its dependencies execute the following:
 
To install Eprints and all its dependencies execute the following:

Revision as of 08:51, 3 April 2008

Download EPrints Releases: http://files.eprints.org/view/type/release.html


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 Alpha

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.