4

I have spent a long time looking around and Goggling for this but I am no closer to getting this install.

I have Cygwin install 64-bit version. And have installed apt-cyg and using this I have installed openssh and vim just fine. But I am not able to install pdftk ? Does it have some other name ? Or is there some other tool I can use to split and merge pdf in Cygwin ?

Thanks in advance

1

There is search on cygwin website (and also google). If you try the same search with x86_64 architecture, there is no such package. This question was asked many times and answered also.

Just use 32 bit version, if you want all the packages.

  • blitzter47's answer allows pdftk to be used in Cygwin either in 64-bit or 32-bit architectures... – Bryson S. Mar 9 '16 at 4:59
  • 1
    Note that pdftk has been removed from the Cygwin packages due to a requirement for gcj which was also removed sometime late 2016. See cygwin.com/ml/cygwin/2016-08/msg00656.html – carbontracking Oct 18 '17 at 8:13
14

I got PDFtk commands with Cygwin by installing the server version of PDFtk (https://www.pdflabs.com/tools/pdftk-server/) in Windows 7 64bits.

While installing PDFtk Server, make sure to check the box saying to apply PDFtk to the system environment. Once the installation is done, type "pdftk" in Cygwin and it should give the expected results.

  • 2
    @blitzer47 I don't know why this is not not the accepted answer. Not only have you shown that it's possible to install pdftk on Cygwin, but the process could not have been more painless. Thank you for your input. – Bryson S. Mar 9 '16 at 4:56
  • This has worked flawlessly on my machine and has delivered everything I need. Highly recommended. – shuhalo Jan 31 '17 at 22:37
  • This is a good workaround as it makes the pdftk tool available on the Cygwin command-line. Maybe its not accepted as the answer because it doesn't install a Cygwin package, it installs a windows command-line tool which is accessible in Cygwin (like all other windows command-line tools, e.g. try "dir") – carbontracking Oct 18 '17 at 8:11
0

since pdftk is no more supported: found this package in cygwin to rotate pdfs and more: qpdf http://qpdf.sourceforge.net/

manual: http://qpdf.sourceforge.net/files/qpdf-manual.pdf

works with the x64 and x86 version installed it with the cygwin-installer.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.