2
2

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

More than 5 years have passed since last update.

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

Posted at

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

参考

2
2
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
2
2

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?