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