Poppler

poppler-utils is a collection of command-line utilities for getting information on PDF documents or convert them to other formats. It is part of the Poppler, a PDF rendering library.

  • pdffonts -- font analyzer
  • pdfimages -- image extractor
  • pdfinfo -- document information
  • pdftoabw -- PDF to Abiword converter
  • pdftohtml -- PDF to HTML converter
  • pdftoppm -- PDF to PPM/PNG/JPEG image converter
  • pdftops -- PDF to PostScript (PS) converter
  • pdftotext -- text extraction

Installation
pdftohtml is part of the poppler-utils package:

  • CentOS Linux

    yum install poppler-utils

    Or from source:

    yum -y install pkgconfig fontconfig-devel
    cd /extra/src
    wget http://poppler.freedesktop.org/poppler-0.17.1.tar.gz
    tar zxf poppler-0.17.1.tar.gz
    cd poppler-0.17.1

    Configure:

    ./configure
    make
    make install
  • OS X
    Pkg-config gets installed first:

    wget http://pkgconfig.freedesktop.org/releases/pkg-config-0.25.tar.gz
    tar zxf pkg-config-0.25.tar.gz
    cd pkg-config-0.25
    ./configure
    make
    sudo make install

    OS X 10.3 had a few extras needed:

    • GNU Make >3.79:

      wget http://ftp.gnu.org/gnu/make/make-3.81.tar.gz
      tar zxf make-3.81.tar.gz
      cd make-3.81
      configure
      make
      sudo make install
    • freetype:
      wget http://mirror.cinquix.com/pub/savannah/freetype/freetype-2.4.1.tar.gz
      tar zxf freetype-2.4.1.tar.gz
      cd freetype-2.4.1
      /usr/local/bin/make
      sudo make install
    • libxml2>2.6.16:
      wget ftp://xmlsoft.org/libxml2//libxml2-2.7.7.tar.gz
      tar zxf libxml2-2.7.7.tar.gz
      cd libxml2-2.7.7
      ./configure
      make
      sudo make install

    fontconfig next:

    wget http://fontconfig.org/release/fontconfig-2.8.0.tar.gz
    tar zxf fontconfig-2.8.0.tar.gz
    cd fontconfig-2.8.0
    ./configure
    make
    sudo make install

    Then poppler:

    wget http://poppler.freedesktop.org/poppler-0.14.1.tar.gz
    tar zxf poppler-0.14.1.tar.gz
    cd poppler-0.14.1
    ./configure
    make
    sudo make install

Recent Updates

  • 2 years 1 week ago
  • 2 years 1 week ago
  • 2 years 1 week ago
    php 8.x
  • 2 years 1 week ago
    10.6.7
  • 2 years 1 week ago
    Drop Centos 5/6 stuff