Installing EPrints 3 via Redhat RPM

From EPrints Documentation
Revision as of 14:47, 3 September 2007 by DaveTarrant (talk | contribs)
Jump to: navigation, search

Download an appropriate EPrints Release


Currently supported: RedHat Enterprise 4 32bit.

This also requires the DAG repository for some Perl dependencies.

Adding the EPrints Yum Repository

In /etc/sysconfig/rhn/sources add:

### Dag RPM Repository for Red Hat Enterprise Linux
yum dag http://apt.sw.be/redhat/el4/en/$ARCH/dag
### EPrints RPM Repository for Red Hat Enterprise Linux
yum eprints http://rpm.eprints.org/rhel4/

Import the DAG and EPrints distribution keys:

wget http://dag.wieers.com/rpm/packages/RPM-GPG-KEY.dag.txt
rpm --import RPM-GPG-KEY.dag.txt
rm RPM-GPG-KEY.dag.txt
wget http://rpm.eprints.org/RPM-GPG-KEY-tdb01r
rpm --import RPM-GPG-KEY-EPRINTS-2007
rm RPM-GPG-KEY-EPRINTS-2007

Dependencies

This will be redundant when there is a release EPrints 3, for now install dependencies and then use the release tarball

up2date perl-DBI perl-DBD-MySQL perl-Data-ShowTable \
perl-MIME-Lite perl-Unicode-String perl-Time-HiRes \
perl-XML-LibXML perl-XML-GDOME

Install EPrints 3

There isn't an RPM release of eprints3 available yet (in TODO for 3.01)

up2date eprints3

You can optionally install XML::GDOME using:

up2date perl-XML-GDOME

To switch to using GDOME modify /opt/eprints3/perl_lib/EPrints/SystemSettings.pm:

enable_libxml => 0