centos7.6安装teamviewer-原来还可以用yum 安装rpm包,自动解决依赖,太爽了

1.在官网下载teamviewer安装包

1461765-20190130100102914-440803741.png

2.安装.一直用rpm -ivh 的方式安装rpm包,但是不会自动解决依赖,今天才知道,原来还可以用yum -y install rpm包,自动解决依赖.
[root@ana53 soft]# rpm -ivh teamviewer_14.1.9025.x86_64.rpm 
warning: teamviewer_14.1.9025.x86_64.rpm: Header V4 RSA/SHA1 Signature, key ID 0c1289c0: NOKEY
error: Failed dependencies:
    libQt5Qml.so.5()(64bit) >= 5.5 is needed by teamviewer-14.1.9025-0.x86_64
    libQt5Quick.so.5()(64bit) >= 5.5 is needed by teamviewer-14.1.9025-0.x86_64
    libQt5WebKit.so.5()(64bit) >= 5.5 is needed by teamviewer-14.1.9025-0.x86_64
    libQt5WebKitWidgets.so.5()(64bit) >= 5.5 is needed by teamviewer-14.1.9025-0.x86_64
    libQt5X11Extras.so.5()(64bit) >= 5.5 is needed by teamviewer-14.1.9025-0.x86_64
    qt5-qtdeclarative >= 5.5 is needed by teamviewer-14.1.9025-0.x86_64
    qt5-qtquickcontrols >= 5.5 is needed by teamviewer-14.1.9025-0.x86_64
[root@ana53 soft]# yum -y install teamviewer_14.1.9025.x86_64.rpm 
Loaded plugins: fastestmirror, langpacks
Examining teamviewer_14.1.9025.x86_64.rpm: teamviewer-14.1.9025-0.x86_64
Marking teamviewer_14.1.9025.x86_64.rpm to be installed
Resolving Dependencies
--> Running transaction check
---> Package teamviewer.x86_64 0:14.1.9025-0 will be installed
--> Processing Dependency: qt5-qtdeclarative >= 5.5 for package: teamviewer-14.1.9025-0.x86_64
Loading mirror speeds from cached hostfile
 * base: mirrors.aliyun.com
 * epel: mirrors.aliyun.com
 * extras: mirrors.aliyun.com
 * updates: mirrors.aliyun.com
https://copr-be.cloud.fedoraproject.org/results/mosquito/myrepo/epel-7-x86_64/repodata/repomd.xml: [Errno 14] HTTPS Error 404 - Not Found
Trying other mirror.
To address this issue please refer to the below wiki article 

https://wiki.centos.org/yum-errors

If above article doesn't help to resolve this issue please use https://bugs.centos.org/.

--> Processing Dependency: qt5-qtquickcontrols >= 5.5 for package: teamviewer-14.1.9025-0.x86_64
--> Processing Dependency: libQt5Qml.so.5()(64bit) >= 5.5 for package: teamviewer-14.1.9025-0.x86_64
--> Processing Dependency: libQt5Quick.so.5()(64bit) >= 5.5 for package: teamviewer-14.1.9025-0.x86_64
--> Processing Dependency: libQt5WebKit.so.5()(64bit) >= 5.5 for package: teamviewer-14.1.9025-0.x86_64
--> Processing Dependency: libQt5WebKitWidgets.so.5()(64bit) >= 5.5 for package: teamviewer-14.1.9025-0.x86_64
--> Processing Dependency: libQt5X11Extras.so.5()(64bit) >= 5.5 for package: teamviewer-14.1.9025-0.x86_64
--> Running transaction check
---> Package qt5-qtdeclarative.x86_64 0:5.9.2-1.el7 will be installed
--> Processing Dependency: libQt5XmlPatterns.so.5(Qt_5)(64bit) for package: qt5-qtdeclarative-5.9.2-1.el7.x86_64
--> Processing Dependency: libQt5XmlPatterns.so.5()(64bit) for package: qt5-qtdeclarative-5.9.2-1.el7.x86_64
---> Package qt5-qtquickcontrols.x86_64 0:5.9.2-1.el7 will be installed
---> Package qt5-qtwebkit.x86_64 0:5.9.1-1.el7 will be installed
--> Processing Dependency: libQt5Positioning.so.5(Qt_5)(64bit) for package: qt5-qtwebkit-5.9.1-1.el7.x86_64
--> Processing Dependency: libQt5Sensors.so.5(Qt_5)(64bit) for package: qt5-qtwebkit-5.9.1-1.el7.x86_64
--> Processing Dependency: libQt5WebChannel.so.5(Qt_5)(64bit) for package: qt5-qtwebkit-5.9.1-1.el7.x86_64
--> Processing Dependency: libQt5Positioning.so.5()(64bit) for package: qt5-qtwebkit-5.9.1-1.el7.x86_64
--> Processing Dependency: libQt5Sensors.so.5()(64bit) for package: qt5-qtwebkit-5.9.1-1.el7.x86_64
--> Processing Dependency: libQt5WebChannel.so.5()(64bit) for package: qt5-qtwebkit-5.9.1-1.el7.x86_64
---> Package qt5-qtx11extras.x86_64 0:5.9.2-1.el7 will be installed
--> Running transaction check
---> Package qt5-qtlocation.x86_64 0:5.9.2-1.el7 will be installed
---> Package qt5-qtsensors.x86_64 0:5.9.2-1.el7 will be installed
---> Package qt5-qtwebchannel.x86_64 0:5.9.2-1.el7 will be installed
---> Package qt5-qtxmlpatterns.x86_64 0:5.9.2-1.el7 will be installed
--> Finished Dependency Resolution

Dependencies Resolved

==============================================================================================================================================================================================
 Package                                         Arch                               Version                                    Repository                                                Size
==============================================================================================================================================================================================
Installing:
 teamviewer                                      x86_64                             14.1.9025-0                                /teamviewer_14.1.9025.x86_64                              61 M
Installing for dependencies:
 qt5-qtdeclarative                               x86_64                             5.9.2-1.el7                                base                                                     3.2 M
 qt5-qtlocation                                  x86_64                             5.9.2-1.el7                                base                                                     919 k
 qt5-qtquickcontrols                             x86_64                             5.9.2-1.el7                                base                                                     1.1 M
 qt5-qtsensors                                   x86_64                             5.9.2-1.el7                                base                                                     208 k
 qt5-qtwebchannel                                x86_64                             5.9.2-1.el7                                base                                                      78 k
 qt5-qtwebkit                                    x86_64                             5.9.1-1.el7                                epel                                                      10 M
 qt5-qtx11extras                                 x86_64                             5.9.2-1.el7                                base                                                      27 k
 qt5-qtxmlpatterns                               x86_64                             5.9.2-1.el7                                base                                                     1.1 M

Transaction Summary
==============================================================================================================================================================================================

转载于:https://www.cnblogs.com/xiaozhuangAna/p/10336901.html

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值