How do I completely remove (all versions of) pdftk server from Mac OS X?

后端 未结 1 1423
野性不改
野性不改 2021-01-21 05:43

I am having trouble with pdftk on my Mac OS X 10.11 and want to remove all traces of it from my system before attempting to make a new install with the newest package 2.02 (avai

1条回答
  •  失恋的感觉
    2021-01-21 05:47

    I do not know how to uninstall the default pdftk, but the pdftk binary in /opt/pdflabs/pdftk/bin/pdftk seems to use by default the correct libraries. So in the meantime you could just change your PATH (in .bashrc / .bash_profile) so that the pdftk you use by default if the good one with something like

    export PATH=/opt/pdflabs/pdftk/bin:$PATH

    In the /opt/pdflabs/pdftk/bin there is also a pdftk_uninstall.sh that will uninstall the /opt/pdflabs when necessary. I guess that will be when pdflabs releases an official updated pdftk that installs the good version in the default directories.

    0 讨论(0)
提交回复
热议问题