我下载了新的 poppler 0.15 tar 包,并成功地从源代码构建了它,但在尝试
dpkg -l | grep poppler
它输出
ii libpoppler-dev 0.14.3-0ubuntu1.1 PDF rendering library -- development files
ii libpoppler-glib-dev 0.14.3-0ubuntu1.1 PDF rendering library -- development files (GLib interface)
ii libpoppler-glib4 0.12.4-1ubuntu1 PDF rendering library (GLib-based shared library)
ii libpoppler-glib5 0.14.3-0ubuntu1.1 PDF rendering library (GLib-based shared library)
ii libpoppler5 0.12.4-1ubuntu1 PDF rendering library
rc libpoppler6 0.14.2.is.0.14.1-0ubuntu1 PDF rendering library
ii libpoppler7 0.14.3-0ubuntu1.1 PDF rendering library
ii poppler-utils 0.14.3-0ubuntu1.1 PDF utilitites (based on libpoppler)
所以据我所知这意味着新版本未安装!!
答案1
我找到了问题所在。dpkg 只会显示*.debpackages
已安装的二进制文件。如果你只是这样,./configure && make && make install
它就不会显示在 dpkg 中。所以我./configure --prefix=/usr
在构建时添加了这个前缀。