本文介绍了如何在ubuntu 15.04中安装poppler?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

Poppler是一个基于xpdf-3.0代码库的PDF渲染库.我已经从官方网站 http://poppler.freedesktop.org/下载了tar.xz文件.但是我不知道该怎么办

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. -我是Linux的新手,所以我对此还不了解.

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

推荐答案

从poppler网站下载的是源代码,您可能不足以自行安装.在这种情况下,Ubuntu和其他Linux发行版管理流行软件的软件包,因此您不必通过源代码进行手动安装.在您的情况下,软件包python-poppler中提供了适用于python的poppler,该软件包可通过Ubuntu的软件包管理器apt安装.

What you downloaded from poppler site is source code and you may not be expert enough to install it yourself. For such situations, Ubuntu and other linux distros manage packages of popular software so you don't have to go through manual installation via source code. In your case, poppler for python is available in package python-poppler which can be installed via Ubuntu's package manager apt.

要安装poppler python绑定,请打开终端并运行以下命令:

To install poppler python bindings open terminal and run this:

sudo apt-get install python-poppler

那么您应该在python中有poppler可用.

You should have poppler available in python then.

要以后搜索此类软件包,可以执行apt-cache search poppler.它将列出您可以通过apt安装的所有软件包.

To search for such packages in future you can do apt-cache search poppler. It will list down all packages you can install via apt.

这篇关于如何在ubuntu 15.04中安装poppler?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

07-03 07:51