Centos6

如何在 CentOS 6.5 上升級已安裝軟體包的版本

  • October 12, 2014

我通過安裝 verlibtiff的命令安裝。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。我怎樣才能得到我想要的版本?

我試過的

我嘗試添加我為4.0.3 http://rpmfind.net/linux/rpm2html/search.php?query=libtiff找到的這些 rpm,但是當我嘗試時,我收到一條錯誤消息,提示依賴項失敗:

[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

在 CentOS 6 上,您需要從原始碼建構和安裝它,或者製作您自己的軟體包。

如果您可以升級到 CentOS 7,您可以從 CentOS 儲存庫獲得 4.0.3。

引用自:https://serverfault.com/questions/636360