1

I'd like to install xPDF on a CentOS 5.5 server. No GUI, I really just need the console apps.

Can anyone give me a brief guide?

1
  • 1
    For CentOS 6.7 and later versions of CentOS (including CentOS 7), several PDF command line utilities are provided by the poppler-utils package from the default CentOS repositories. This package contains command line utilities for getting information of PDF documents, converting them to other formats, or manipulating them.
    – karel
    Nov 18, 2015 at 5:37

2 Answers 2

4

Add EPEL then use yum to install it.

Extra Packages for Enterprise Linux (or EPEL) is a Fedora Special Interest Group that creates, maintains, and manages a high quality set of additional packages for Enterprise Linux, including, but not limited to, Red Hat Enterprise Linux (RHEL),CentOS and Scientific Linux (SL).

EPEL packages are usually based on their Fedora counterparts and will never conflict with or replace packages in the base Enterprise Linux distributions. EPEL uses much of the same infrastructure as Fedora, including buildsystem, bugzilla instance, updates manager, mirror manager and more.

2

Instead of using EPEL I just downloaded the latest version from the Xpdf website.

Then:

  1. I extracted it with tar -xzvf xpdf_vxxxx.tar.gz.
  2. cd xpdf_vxxxxx
  3. ./configure and it warned me that I was missing FreeType and a couple of other libraries, but since I only wanted the console apps anyway I ignored that message.
  4. make (more random warning messages)
  5. make install

Then I could just run pdftotext and the rest of them.

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .