Difference between revisions of "Issues with installing EPrints on RHEL / CentOS / Rocky 8"

From EPrints Documentation
Jump to: navigation, search
(elinks package is no longer available)
m (Drn@ecs.soton.ac.uk moved page Issues with installing EPrints on RHEL 8 to Issues with installing EPrints on RHEL / CentOS / Rocky 8: Linux OS versions are very similar so easier to only have one issues page for each.)
(No difference)

Revision as of 10:06, 7 May 2021

elinks package is no longer available

The RPM package elinks is no longer available in RHEL 8 even with EPEL package repository. elinks is probably no longer needed so if installing from source use the following YUM command line:

dnf install libxml2 libxslt httpd mod_perl perl-DBI perl-DBD-MySQL perl-IO-Socket-SSL perl-Time-HiRes \
   perl-CGI perl-Digest-MD5 perl-Digest-SHA perl-JSON perl-XML-LibXML perl-XML-LibXSLT perl-XML-SAX \
   perl-MIME-Lite perl-Text-Unidecode perl-JSON perl-Unicode-Collate perl-Pod-LaTeX tetex-latex wget \
   gzip tar ImageMagick poppler-utils chkconfig unzip cpan

Alternatively, you can enable the codeready-builder repository, which still has elinks available:

subscription-manager repos --enable "codeready-builder-for-rhel-8-$(arch)-rpms"

If you are running CentOS 8 (or Rocky 8) you can similarly enable the powertools repository:

dnf config-manager --set-enabled powertools

Compatibility issues with XML::LibXLST

Sometimes the Perl module XML::LibXLST packaged in the perl-XML-LibXSLT package causes segmentation faults with the Apache httpd webserver. Therefore, it may be better to install this Perl module using CPAN (as the root user):

yum erase perl-XML-LibXSLT
cpan XML::LibXSLT