How to install poppler in ubuntu 15.04?

Arshdeep Singh Bakshi picture Arshdeep Singh Bakshi · Aug 22, 2015 · Viewed 18.8k times · Source

Poppler is a PDF rendering library based on the xpdf-3.0 code base. I have already downloaded the tar.xz file from the official site http://poppler.freedesktop.org/ But I do not know what to do with this file

Is there any command to install or run?

P.S. - I am new to linux, so I don't know a lot about it yet..

Answer

dancow picture dancow · Dec 21, 2016

Not sure how it worked in 15.04, but I know in 16.04 (Xenial), the package's official name is poppler-utils:

http://packages.ubuntu.com/xenial/poppler-utils

And thus can be installed with:

sudo apt-get install -y poppler-utils

The marked answer by codefreak is not correct if you need the poppler-command-line tools, such as pdftotext. Also, installing Python poppler via apt-get doesn't seem to play nice if you're on a customized system, e.g. one that is running off of the Anaconda distribution.