Centos

如何在 CentOS6 中安裝 pgAdmin3?

  • June 18, 2014

我需要在 CentOS6 中安裝 pgAdmin3,但出現依賴項錯誤。

[root@andre tmp]# rpm -ivh --aid pgadmin3-1.12.2-2.el6.x86_64.rpm
warning: pgadmin3-1.12.2-2.el6.x86_64.rpm: Header V3 RSA/SHA256 Signature, key ID 0608b895: NOKEY
error: Failed dependencies:
libwx_baseu-2.8.so.0()(64bit) is needed by pgadmin3-1.12.2-2.el6.x86_64
libwx_baseu-2.8.so.0(WXU_2.8)(64bit) is needed by pgadmin3-1.12.2-2.el6.x86_64
libwx_baseu-2.8.so.0(WXU_2.8.5)(64bit) is needed by pgadmin3-1.12.2-2.el6.x86_64
libwx_baseu_net-2.8.so.0()(64bit) is needed by pgadmin3-1.12.2-2.el6.x86_64
libwx_baseu_net-2.8.so.0(WXU_2.8)(64bit) is needed by pgadmin3-1.12.2-2.el6.x86_64
libwx_baseu_xml-2.8.so.0()(64bit) is needed by pgadmin3-1.12.2-2.el6.x86_64
libwx_baseu_xml-2.8.so.0(WXU_2.8)(64bit) is needed by pgadmin3-1.12.2-2.el6.x86_64
libwx_gtk2u_adv-2.8.so.0()(64bit) is needed by pgadmin3-1.12.2-2.el6.x86_64
libwx_gtk2u_adv-2.8.so.0(WXU_2.8)(64bit) is needed by pgadmin3-1.12.2-2.el6.x86_64
libwx_gtk2u_aui-2.8.so.0()(64bit) is needed by pgadmin3-1.12.2-2.el6.x86_64
libwx_gtk2u_aui-2.8.so.0(WXU_2.8)(64bit) is needed by pgadmin3-1.12.2-2.el6.x86_64
libwx_gtk2u_core-2.8.so.0()(64bit) is needed by pgadmin3-1.12.2-2.el6.x86_64
libwx_gtk2u_core-2.8.so.0(WXU_2.8)(64bit) is needed by pgadmin3-1.12.2-2.el6.x86_64
libwx_gtk2u_html-2.8.so.0()(64bit) is needed by pgadmin3-1.12.2-2.el6.x86_64
libwx_gtk2u_html-2.8.so.0(WXU_2.8)(64bit) is needed by pgadmin3-1.12.2-2.el6.x86_64
libwx_gtk2u_ogl-2.8.so.0()(64bit) is needed by pgadmin3-1.12.2-2.el6.x86_64
libwx_gtk2u_ogl-2.8.so.0(WXU_2.8)(64bit) is needed by pgadmin3-1.12.2-2.el6.x86_64
libwx_gtk2u_qa-2.8.so.0()(64bit) is needed by pgadmin3-1.12.2-2.el6.x86_64
libwx_gtk2u_richtext-2.8.so.0()(64bit) is needed by pgadmin3-1.12.2-2.el6.x86_64
libwx_gtk2u_stc-2.8.so.0()(64bit) is needed by pgadmin3-1.12.2-2.el6.x86_64
libwx_gtk2u_stc-2.8.so.0(WXU_2.8)(64bit) is needed by pgadmin3-1.12.2-2.el6.x86_64
libwx_gtk2u_xrc-2.8.so.0()(64bit) is needed by pgadmin3-1.12.2-2.el6.x86_64
libwx_gtk2u_xrc-2.8.so.0(WXU_2.8)(64bit) is needed by pgadmin3-1.12.2-2.el6.x86_64
wxGTK is needed by pgadmin3-1.12.2-2.el6.x86_64

有一種方法可以安裝這個帶有依賴項的 RPM,或者我必須一個一個地手動安裝這個依賴項?

最好的祝福,

將您的 CentOS 訂閱到PostgreSQL yum 儲存庫,該儲存庫也提供 pgAdmin3 的軟體包。然後,您可以安裝 pgAdmin 並通過 yum 接收更新,就像您通常使用 CentOS 所做的那樣。

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