How can I install qpdf on Mac 10.8.3?

2019-04-19 18:51发布

When running R CMD check on packages on a Mac build server, I'm getting a warning

‘qpdf’ is needed for checks on size reduction of PDFs

I can't seem to get qpdf installed and on the system. I tried installing via the fink package manager, but according to the package database (http://pdb.finkproject.org/pdb/package.php/qpdf), qpdf doesn't seem to have been built since osx 10.6, and I'm on 10.8.3.

Can anyone point me to qpdf mac install or build instructions? Or is there a way to disable the warning when checking R packages?

This is somewhat related to the question qpdf.exe for compactPDF?, although they were on a windows machine and I'm on a mac.

2条回答
何必那么认真
2楼-- · 2019-04-19 19:04

You can install qpdf with homebrew:

brew install qpdf
查看更多
我只想做你的唯一
3楼-- · 2019-04-19 19:04

MacPorts can help you. Download MacPorts from http://www.macports.org/ and run sudo port install qpdf.

查看更多
登录 后发表回答