PDFDiff is a command-line tool to compute the differences between two PDF files.
You need ImageMagick to use this tool.
To check if you have ImageMagick, run
which convertor
which compareOnce you are certain that you have ImageMagick, run
gem install pdfdiffto install PDFDiff.
pdfdiff first.pdf second.pdf result.pdfThis command might take a while to run. After it finishes, result.pdf
will contain the diff of first.pdf and second.pdf, with their
differences highlighted.