2
Help us understand the problem. What are the problem?

More than 5 years have passed since last update.

posted at

CentOS5にpdftoppmをインストールする

CentOS6には標準で入っているのにCentOS5だとyum install popplerしても何故かpdftoppmが含まれない・・。しかたないのでソースから直接インストール。

手順

# 必要なライブラリをインストール
sudo yum install fontconfig-devel libjpeg-devel

# pdftoppmのコンパイル、インストール
wget http://poppler.freedesktop.org/poppler-0.22.4.tar.gz
tar xzvf poppler-0.22.4.tar.gz
cd poppler-0.22.4

./configure
make
sudo make install

# 日本語のpdfを画像化するのに必要
wget http://poppler.freedesktop.org/poppler-data-0.4.6.tar.gz
tar xzvf poppler-data-0.4.6.tar.gz 
cd poppler-data-0.4.6
sudo make install

動作確認

$ type pdftoppm
pdftoppm is /usr/local/bin/pdftoppm

参考

Why not register and get more from Qiita?
  1. We will deliver articles that match you
    By following users and tags, you can catch up information on technical fields that you are interested in as a whole
  2. you can read useful information later efficiently
    By "stocking" the articles you like, you can search right away
Sign upLogin
2
Help us understand the problem. What are the problem?