需要freetype2和libXp,安装略
mkdir xpdf
cd xpdf
wget ftp://ftp.foolabs.com/pub/xpdf/xpdfbin-linux-3.03.tar.gz
wget ftp://ftp.foolabs.com/pub/xpdf/xpdf-chinese-simplified.tar.gz
wget ftp://ftp.foolabs.com/pub/xpdf/xpdf-chinese-traditional.tar.gz
tar xf xpdfbin-linux-3.03.tar.gz
cd xpdfbin-linux-3.03
cp bin32/* /usr/local/bin/
mkdir /usr/local/man/man1
mkdir /usr/local/man/man5
cd doc/
cp *1 /usr/local/man/man1/
cp *5 /usr/local/man/man5/
cp sample-xpdfrc /usr/local/etc/xpdfrc
cd ../../
tar xf xpdf-chinese-simplified.tar.gz
mkdir -p /usr/local/share/xpdf/chinese-simplified
cd xpdf-chinese-simplified
cp * /usr/local/share/xpdf/chinese-simplified/ -rf
cat add-to-xpdfrc >>/usr/local/etc/xpdfrc
cd ..
tar xf xpdf-chinese-traditional.tar.gz
mkdir -p /usr/local/share/xpdf/chinese-traditional/
cd xpdf-chinese-traditional
cp * /usr/local/share/xpdf/chinese-traditional/ -rf
cat add-to-xpdfrc >>/usr/local/etc/xpdfrc
cd ..
cd ..
阅读(6281) | 评论(0) | 转发(0) |