我尝试安装 qpdf 5.1.3;默认的是 5.1.1(我有 Ubuntu 14.04)。
从编译后sourceforge 下载,安装的是 5.1.1 版本。 的输出/usr/local/bin/qpdf --version
为:
qpdf version 5.1.1
Copyright (c) 2005-2015 Jay Berkenbilt
This software may be distributed under the terms of version 2 of the
Artistic License which may be found in the source distribution. It is
provided "as is" without express or implied warranty.
输出apt-cache policy qpdf
qpdf:
Installed: 5.1.3-1
Candidate: 5.1.3-1
Version table:
*** 5.1.3-1 0
100 /var/lib/dpkg/status
5.1.1-1 0
500 fr.archive.ubuntu.com/ubuntu trusty/main amd64 Packages
这很令人困惑,如果我跑
find . -type f -name 'qpdf' -exec {} --version \;
在源文件夹中我得到
qpdf version 5.1.1
Copyright (c) 2005-2015 Jay Berkenbilt
This software may be distributed under the terms of version 2 of the
Artistic License which may be found in the source distribution. It is
provided "as is" without express or implied warranty.
qpdf version 5.1.3
Copyright (c) 2005-2015 Jay Berkenbilt
This software may be distributed under the terms of version 2 of the
Artistic License which may be found in the source distribution. It is
provided "as is" without express or implied warranty.
因此似乎有两个版本被编译了。
这里有什么问题?