需要帮助将rpm格式程序安装到CentOS 7中

问题描述

我希望将https://lanmessenger.github.io/的Lan Messenger安装到CentOS 7中,并下载了rpm格式安装程序“ lmc-1.2.37.x86_64_min.rpm”。

因为在安装http://rpmfind.net/linux/RPM/openmandriva/4.0/x86_64/main/release/lib64crypto1.0.0-1.0.2r-2.x86_64.html中缺少的yum-repos依赖libcrypto.so.1.0.0之后,只有libcrypto.so.10。我跑

$ sudo yum install lmc-1.2.37.x86_64_min.rpm

但是它以以下错误消息结尾:

Transaction Summary
=============================================================================================================================================================================================================================================
Install  1 Package  (+15 Dependent packages)
Upgrade             (  3 Dependent packages)

Total size: 32 M
Is this ok [y/d/N]: y
Downloading packages:
Running transaction check
Running transaction test
Transaction check error:
  file / from install of lmc-1.2.37-2.x86_64 conflicts with file from package filesystem-3.2-21.el7.x86_64
  file /usr from install of lmc-1.2.37-2.x86_64 conflicts with file from package filesystem-3.2-21.el7.x86_64
  file /usr/bin from install of lmc-1.2.37-2.x86_64 conflicts with file from package filesystem-3.2-21.el7.x86_64
  file /usr/lib from install of lmc-1.2.37-2.x86_64 conflicts with file from package filesystem-3.2-21.el7.x86_64
  file /usr/share from install of lmc-1.2.37-2.x86_64 conflicts with file from package filesystem-3.2-21.el7.x86_64
  file /usr/share/applications from install of lmc-1.2.37-2.x86_64 conflicts with file from package filesystem-3.2-21.el7.x86_64
......(etc)

我检查了rpm文件

$ rpm -qpl lmc-1.2.37.x86_64_min.rpm

输出的开头如下:

/
/usr
/usr/bin
/usr/bin/lmc
/usr/lib
/usr/lib/lmc
/usr/lib/lmc/COPYING
/usr/lib/lmc/lan-messenger
/usr/lib/lmc/lang
/usr/lib/lmc/lang/ar_SA.qm
/usr/lib/lmc/lang/bg_BG.qm
/usr/lib/lmc/lang/de_DE.qm
/usr/lib/lmc/lang/en_US.qm
/usr/lib/lmc/lang/es_ES.qm
/usr/lib/lmc/lang/fr_FR.qm
/usr/lib/lmc/lang/it_IT.qm
/usr/lib/lmc/lang/ko_KR.qm
/usr/lib/lmc/lang/ml_IN.qm
/usr/lib/lmc/lang/pt_BR.qm
/usr/lib/lmc/lang/ro_RO.qm
/usr/lib/lmc/lang/ru_RU.qm
/usr/lib/lmc/lang/sl_SI.qm
/usr/lib/lmc/lang/system
/usr/lib/lmc/lang/system/ar_SA.qm
/usr/lib/lmc/lang/system/de_DE.qm
/usr/lib/lmc/lang/system/es_ES.qm
/usr/lib/lmc/lang/system/fr_FR.qm
/usr/lib/lmc/lang/system/ko_KR.qm
/usr/lib/lmc/lang/system/pt_BR.qm
/usr/lib/lmc/lang/system/sl_SI.qm
/usr/lib/lmc/lang/tr_TR.qm
/usr/lib/lmc/liblmcapp.so.2
/usr/lib/lmc/lmc.rcc
/usr/lib/lmc/lmc.sh
......(etc)

我感到奇怪的是,例如“ /”,“ / usr”,“ / usr / bin”等项目位于rpm文件中。

需要在“ sudo yum install ...”命令中添加一些额外的选项吗?还是我下载了不适合CentOS 7的rpm文件?还是我需要做其他事情?

能给我一些建议吗?非常感谢!

解决方法

暂无找到可以解决该程序问题的有效方法,小编努力寻找整理中!

如果你已经找到好的解决方法,欢迎将解决方案带上本链接一起发送给小编。

小编邮箱:dio#foxmail.com (将#修改为@)