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

Posted xiaozhuangana

tags:

篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了centos7.6安装teamviewer-原来还可以用yum 安装rpm包,自动解决依赖,太爽了相关的知识,希望对你有一定的参考价值。

1.在官网下载teamviewer安装包

技术分享图片

2.安装.一直用rpm -ivh 的方式安装rpm包,但是不会自动解决依赖,今天才知道,原来还可以用yum -y install rpm包,自动解决依赖.
[[email protected] 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
[[email protected] 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包,自动解决依赖,太爽了的主要内容,如果未能解决你的问题,请参考以下文章

TeamViewer 提示版本不兼容怎么办?

Centos7.6安装过程

TeamViewer无法连接的解决办法?

戴尔 R420 服务器安装 Centos7.6.1810 踩坑

TeamViewer无法连接, 没有到teamviewer服务器的连接

TeamViewer“试用期已到期”解决方法