geany安装有相互依赖的情况

Have a mutual dependency situation for geany installation

我尝试在 centOS 6.7 上安装 geany rpm, 这是提示:

[root@localhost Downloads]# rpm -Uvh geany-1.27-1.el6.x86_64.rpm
error: Failed dependencies:
geany-libgeany = 1.27-1.el6 is needed by geany-1.27-1.el6.x86_64
libgeany.so.0()(64bit) is needed by geany-1.27-1.el6.x86_64
[root@localhost Downloads]# rpm -Uvh geany-libgeany-1.27-1.el6.x86_64.rpm
error: Failed dependencies:
geany = 1.27-1.el6 is needed by geany-libgeany-1.27-1.el6.x86_64
[root@localhost Downloads]# 

这两个 rpm 相互 dependent.How 这会发生吗?

这很常见。您只需要将它们安装在一起:

rpm -Uvh geany-1.27-1.el6.x86_64.rpm geany-libgeany-1.27-1.el6.x86_64.rpm

甚至更好:

yum install geany-1.27-1.el6.x86_64.rpm geany-libgeany-1.27-1.el6.x86_64.rpm