How to install Poppler on Windows?

后端 未结 13 2301
长发绾君心
长发绾君心 2020-11-29 02:08

The most recent version of ScraperWiki depends on Poppler (or so the GitHub says). Unfortunately, it only specifies how to get it on macOS and Linux, not Windows.

A

相关标签:
13条回答
  • 2020-11-29 02:37

    UPDATE

    Rumpel Stielzchen's comment:

    This site is no longer maintained. Poppler version 0.68 is very outdated today. You find the latest version compiled also for Windows here: https://anaconda.org/conda-forge/poppler/files Sadly there is no 32 bit version, only 64 bit


    Original answer

    Latest Poppler Windows binaries can be found here:

    http://blog.alivate.com.au/poppler-windows/

    0 讨论(0)
  • 2020-11-29 02:40

    This is what I did.

    1. Install msys2

    2. Open msys2 shell and then run:

      pacman -Syu

      pacman -S mingw-w64-x86_64-poppler

    3. Open MingW64 Shell and access poppler binaries

    The binaries are installed at: C:\msys64\mingw64\bin

    0 讨论(0)
  • 2020-11-29 02:42

    You should consider using Windows Subsystem for Linux (WSL).

    1. Enable WSL on Windows 10 (it will not work on S edition)
    2. Install Ubuntu (latest version) on WSL from the Windows Store
    3. Open Ubuntu command-line

    In the Ubuntu Command-line, run the following commands:

    • sudo apt-get update
    • sudo apt-get upgrade
    • sudo apt install poppler-utils
    • pdftocairo -v - to check the installed version

    You can then run pdftocairo (for example) in two ways:

    1. Within the Ubuntu command-line: pdftocairo ...
    2. Directly from Windows command-line: wsl pdftocairo...

    NOTE: There is a default version of poppler for each release of Ubuntu. You will need to look up the instructions (there should be plenty on the internet), for how to install the latest version of poppler-utils on Ubuntu. This might involve quite a few steps, which will compile from the source code. For example, something like this https://askubuntu.com/a/722955. And then you might get a lot of problems.

    The latest version of Ubuntu 19.04, can install Poppler 74. But Ubuntu 18.04 seems to be the latest version you can install for WSL for now, and that installs Poppler 62.

    0 讨论(0)
  • 2020-11-29 02:45

    Another option is that if you have installed MikTeX then poppler is included by default and is probably already in your PATH. In my case the binaries were installed under: C:\Program Files\MiKTeX 2.9\miktex\bin\x64

    0 讨论(0)
  • 2020-11-29 02:47

    Poppler Windows binaries are available from ftp://ftp.gnome.org/Public/GNOME/binaries/win32/dependencies/ -- but note that those aren't quite up-to-date.

    If you're looking for Python (2.7) bindings (as this question's tag suggests), I requested them in the past via this bug report. A couple of people apparently managed to produce something, but I haven't checked those out yet.

    As for a more recent (python bindings unrelated) poppler Windows binaries Google result, see http://blog.alivate.com.au/poppler-windows/

    Finally, there's the brand-new (and currently very frequently updated) PyGObject all-in-one installer (mainly aiming to provide PyGObject-instrospected Gtk+3 Python bindings etc. for Windows), so if that's what you're looking for, go to http://sourceforge.net/projects/pygobjectwin32/files/?source=navbar

    0 讨论(0)
  • 2020-11-29 02:48

    Up to date binaries for Windows x64, Mac OSX-64, Linux-64bit can be found here

    https://anaconda.org/conda-forge/poppler/files

    Poppler version 0.84 is available at the link as of this writing which is very current. The accepted answer and the link given by Alexey are no longer pointing to current versions of poppler

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