码迷,mamicode.com
首页 > 其他好文 > 详细

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

时间:2019-01-30 11:09:56      阅读:880      评论:0      收藏:0      [点我收藏+]

标签:file   osi   add   分享   安装   3.2   --   odata   自动   

1.在官网下载teamviewer安装包

技术分享图片

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
==============================================================================================================================================================================================

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

标签:file   osi   add   分享   安装   3.2   --   odata   自动   

原文地址:https://www.cnblogs.com/xiaozhuangAna/p/10336901.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!