我libtiff
通过yum install libtiff-devel.x86_64
安装版本的命令进行安装3.9.4
。
[anthony@server ~]$ sudo yum 列表已安装 | grep "libtiff" libtiff.x86_64 3.9.4-10.el6_5 @updates libtiff-devel.x86_64 3.9.4-10.el6_5 @updates
问题
但是我希望有版本4.0.3
。我怎样才能获得我想要的版本?
我尝试过的方法
我尝试添加我找到的这些 rpm4.0.3
http://rpmfind.net/linux/rpm2html/search.php?query=libtiff但是当我尝试时,出现错误,提示依赖项失败:
[anthony@server ~]$ rpm -Uvh ftp://rpmfind.net/linux/sourceforge/o/os/osolinux/update/RPMS.l/libtiff-4.0.3-17_Oso.x86_64.rpm
Retrieving ftp://rpmfind.net/linux/sourceforge/o/os/osolinux/update/RPMS.l/libtiff-4.0.3-17_Oso.x86_64.rpm
error: Failed dependencies:
libc.so.6(GLIBC_2.14)(64bit) is needed by libtiff-4.0.3-17_Oso.x86_64
libjbig.so.2.0()(64bit) is needed by libtiff-4.0.3-17_Oso.x86_64
liblzma.so.5()(64bit) is needed by libtiff-4.0.3-17_Oso.x86_64
libtiff.so.3()(64bit) is needed by (installed) wxGTK-2.8.12-1.el6.centos.x86_64
libtiff.so.3()(64bit) is needed by (installed) wxGTK-gl-2.8.12-1.el6.centos.x86_64
libtiff.so.3()(64bit) is needed by (installed) qt-x11-1:4.6.2-28.el6_5.x86_64
libtiff.so.3()(64bit) is needed by (installed) gtk2-2.20.1-4.el6.x86_64
libtiff.so.3()(64bit) is needed by (installed) opencv-2.0.0-12.el6.x86_64
libtiff.so.3()(64bit) is needed by (installed) ImageMagick-6.5.4.7-7.el6_5.x86_64
libtiff.so.3()(64bit) is needed by (installed) libtiff-devel-3.9.4-10.el6_5.x86_64
libtiff.so.3()(64bit) is needed by (installed) cups-libs-1:1.4.2-52.el6_5.2.x86_64
libtiffxx.so.3()(64bit) is needed by (installed) libtiff-devel-3.9.4-10.el6_5.x86_64
libtiff = 3.9.4-10.el6_5 is needed by (installed) libtiff-devel-3.9.4-10.el6_5.x86_64
答案1
在 CentOS 6 上,您需要从源代码构建和安装它,或者制作您自己的软件包。
如果您可以升级到 CentOS 7,则可以从 CentOS 存储库获取 4.0.3。