安装rpm包时提示错误:依赖检测失败

警告:teamviewer_15.7.6.x86_64.rpm: 头V4 RSA/SHA1 Signature, 密钥 ID 0c1289c0: NOKEY
错误:依赖检测失败:
	libQt5WebKit.so.5()(64bit) >= 5.5 被 teamviewer-15.7.6-0.x86_64 需要
	libQt5WebKitWidgets.so.5()(64bit) >= 5.5 被 teamviewer-15.7.6-0.x86_64 需要

需要在rpm包后面添加--nodeps --force

  rpm -ivh teamviewer_15.7.6.x86_64.rpm --nodeps --force

   

  rpm -ivh teamviewer_15.7.6.x86_64.rpm --nodeps --force


仍报错

警告:teamviewer_15.7.6.x86_64.rpm: 头V4 RSA/SHA1 Signature, 密钥 ID 0c1289c0: NOKEY
错误:can't create 事务 lock on /var/lib/rpm/.rpm.lock (权限不够)

需要su,密码(根目录)

三行命令

yum -y install qt5-qtwebkit.x86_64 qt5-qtwebkit-devel.x86_64 qt5-qtquickcontrols.x86_64 qt5-qtx11extras.x86_64 qt5-qtx11extras-devel.x86_64
 yum -y install harfbuzz.x86_64 harfbuzz-devel.x86_64 harfbuzz-icu.x86_64


yum -y install freetype.x86_64 freetype-devel.x86_64

 

你可能感兴趣的:(centos,yum,rpm)