下載了teamview的rpm文件後,直接使用以下命令安裝便可。由於有不少依賴包,因此使用yum命令自動下載依賴包。web
[root@cdhmaster data]# yum install teamviewer_13.0.6634.x86_64.rpm Loaded plugins: fastestmirror, langpacks Examining teamviewer_13.0.6634.x86_64.rpm: teamviewer-13.0.6634-0.x86_64 Marking teamviewer_13.0.6634.x86_64.rpm to be installed Resolving Dependencies --> Running transaction check ---> Package teamviewer.x86_64 0:13.0.6634-0 will be installed --> Processing Dependency: libQt5DBus.so.5()(64bit) >= 5.5 for package: teamviewer-13.0.6634-0.x86_64 base | 3.6 kB 00:00:00 epel | 4.7 kB 00:00:00 extras | 3.4 kB 00:00:00 updates | 3.4 kB 00:00:00 (1/2): epel/x86_64/updateinfo | 869 kB 00:00:00 (2/2): epel/x86_64/primary_db | 6.2 MB 00:00:00 Loading mirror speeds from cached hostfile * base: mirrors.aliyun.com * epel: mirrors.aliyun.com * extras: mirrors.aliyun.com * updates: mirrors.aliyun.com --> Processing Dependency: libQt5Gui.so.5()(64bit) >= 5.5 for package: teamviewer-13.0.6634-0.x86_64 --> Processing Dependency: libQt5Qml.so.5()(64bit) >= 5.5 for package: teamviewer-13.0.6634-0.x86_64 --> Processing Dependency: libQt5Quick.so.5()(64bit) >= 5.5 for package: teamviewer-13.0.6634-0.x86_64 --> Processing Dependency: libQt5WebKitWidgets.so.5()(64bit) >= 5.5 for package: teamviewer-13.0.6634-0.x86_64 --> Processing Dependency: libQt5Widgets.so.5()(64bit) >= 5.5 for package: teamviewer-13.0.6634-0.x86_64 --> Processing Dependency: libQt5X11Extras.so.5()(64bit) >= 5.5 for package: teamviewer-13.0.6634-0.x86_64 --> Processing Dependency: /usr/lib64/qt5/qml/QtGraphicalEffects/qmldir for package: teamviewer-13.0.6634-0.x86_64 epel/x86_64/filelists_db | 10 MB 00:00:00 --> Processing Dependency: /usr/lib64/qt5/qml/QtQuick/Controls/qmldir for package: teamviewer-13.0.6634-0.x86_64 --> Running transaction check ---> Package qt5-qtbase.x86_64 0:5.6.2-1.el7 will be installed --> Processing Dependency: qt5-qtbase-common = 5.6.2-1.el7 for package: qt5-qtbase-5.6.2-1.el7.x86_64 ---> Package qt5-qtbase-gui.x86_64 0:5.6.2-1.el7 will be installed --> Processing Dependency: libxcb-render-util.so.0()(64bit) for package: qt5-qtbase-gui-5.6.2-1.el7.x86_64 --> Processing Dependency: libxcb-keysyms.so.1()(64bit) for package: qt5-qtbase-gui-5.6.2-1.el7.x86_64 --> Processing Dependency: libxcb-image.so.0()(64bit) for package: qt5-qtbase-gui-5.6.2-1.el7.x86_64 --> Processing Dependency: libxcb-icccm.so.4()(64bit) for package: qt5-qtbase-gui-5.6.2-1.el7.x86_64 ---> Package qt5-qtdeclarative.x86_64 0:5.6.2-1.el7 will be installed --> Processing Dependency: libQt5XmlPatterns.so.5(Qt_5)(64bit) for package: qt5-qtdeclarative-5.6.2-1.el7.x86_64 --> Processing Dependency: libQt5XmlPatterns.so.5()(64bit) for package: qt5-qtdeclarative-5.6.2-1.el7.x86_64 ---> Package qt5-qtgraphicaleffects.x86_64 0:5.6.2-1.el7 will be installed ---> Package qt5-qtquickcontrols.x86_64 0:5.6.2-1.el7 will be installed ---> Package qt5-qtwebkit.x86_64 0:5.6.2-1.el7 will be installed --> Processing Dependency: libQt5Positioning.so.5(Qt_5)(64bit) for package: qt5-qtwebkit-5.6.2-1.el7.x86_64 --> Processing Dependency: libQt5Sensors.so.5(Qt_5)(64bit) for package: qt5-qtwebkit-5.6.2-1.el7.x86_64 --> Processing Dependency: libQt5WebChannel.so.5(Qt_5)(64bit) for package: qt5-qtwebkit-5.6.2-1.el7.x86_64 --> Processing Dependency: libQt5Positioning.so.5()(64bit) for package: qt5-qtwebkit-5.6.2-1.el7.x86_64 --> Processing Dependency: libQt5Sensors.so.5()(64bit) for package: qt5-qtwebkit-5.6.2-1.el7.x86_64 --> Processing Dependency: libQt5WebChannel.so.5()(64bit) for package: qt5-qtwebkit-5.6.2-1.el7.x86_64 ---> Package qt5-qtx11extras.x86_64 0:5.6.2-1.el7 will be installed --> Running transaction check ---> Package qt5-qtbase-common.noarch 0:5.6.2-1.el7 will be installed ---> Package qt5-qtlocation.x86_64 0:5.6.2-1.el7 will be installed ---> Package qt5-qtsensors.x86_64 0:5.6.2-1.el7 will be installed ---> Package qt5-qtwebchannel.x86_64 0:5.6.2-1.el7 will be installed ---> Package qt5-qtxmlpatterns.x86_64 0:5.6.2-1.el7 will be installed ---> Package xcb-util-image.x86_64 0:0.4.0-2.el7 will be installed ---> Package xcb-util-keysyms.x86_64 0:0.4.0-1.el7 will be installed ---> Package xcb-util-renderutil.x86_64 0:0.3.9-3.el7 will be installed ---> Package xcb-util-wm.x86_64 0:0.4.1-5.el7 will be installed --> Finished Dependency Resolution Dependencies Resolved ===================================================================================================== Package Arch Version Repository Size ===================================================================================================== Installing: teamviewer x86_64 13.0.6634-0 /teamviewer_13.0.6634.x86_64 54 M Installing for dependencies: qt5-qtbase x86_64 5.6.2-1.el7 base 2.9 M qt5-qtbase-common noarch 5.6.2-1.el7 base 25 k qt5-qtbase-gui x86_64 5.6.2-1.el7 base 5.4 M qt5-qtdeclarative x86_64 5.6.2-1.el7 base 4.3 M qt5-qtgraphicaleffects x86_64 5.6.2-1.el7 base 584 k qt5-qtlocation x86_64 5.6.2-1.el7 base 718 k qt5-qtquickcontrols x86_64 5.6.2-1.el7 base 926 k qt5-qtsensors x86_64 5.6.2-1.el7 base 195 k qt5-qtwebchannel x86_64 5.6.2-1.el7 base 81 k qt5-qtwebkit x86_64 5.6.2-1.el7 epel 10 M qt5-qtx11extras x86_64 5.6.2-1.el7 base 25 k qt5-qtxmlpatterns x86_64 5.6.2-1.el7 base 1.1 M xcb-util-image x86_64 0.4.0-2.el7 base 15 k xcb-util-keysyms x86_64 0.4.0-1.el7 base 10 k xcb-util-renderutil x86_64 0.3.9-3.el7 base 12 k xcb-util-wm x86_64 0.4.1-5.el7 base 25 k Transaction Summary ===================================================================================================== Install 1 Package (+16 Dependent packages) Total size: 81 M Total download size: 26 M Installed size: 145 M Is this ok [y/d/N]: y Downloading packages: (1/16): qt5-qtbase-common-5.6.2-1.el7.noarch.rpm | 25 kB 00:00:00 (2/16): qt5-qtbase-5.6.2-1.el7.x86_64.rpm | 2.9 MB 00:00:00 (3/16): qt5-qtbase-gui-5.6.2-1.el7.x86_64.rpm | 5.4 MB 00:00:01 (4/16): qt5-qtgraphicaleffects-5.6.2-1.el7.x86_64.rpm | 584 kB 00:00:00 (5/16): qt5-qtdeclarative-5.6.2-1.el7.x86_64.rpm | 4.3 MB 00:00:00 (6/16): qt5-qtquickcontrols-5.6.2-1.el7.x86_64.rpm | 926 kB 00:00:00 (7/16): qt5-qtlocation-5.6.2-1.el7.x86_64.rpm | 718 kB 00:00:00 (8/16): qt5-qtsensors-5.6.2-1.el7.x86_64.rpm | 195 kB 00:00:00 (9/16): qt5-qtwebchannel-5.6.2-1.el7.x86_64.rpm | 81 kB 00:00:00 (10/16): qt5-qtx11extras-5.6.2-1.el7.x86_64.rpm | 25 kB 00:00:00 (11/16): qt5-qtxmlpatterns-5.6.2-1.el7.x86_64.rpm | 1.1 MB 00:00:00 (12/16): xcb-util-image-0.4.0-2.el7.x86_64.rpm | 15 kB 00:00:00 (13/16): xcb-util-keysyms-0.4.0-1.el7.x86_64.rpm | 10 kB 00:00:00 (14/16): xcb-util-renderutil-0.3.9-3.el7.x86_64.rpm | 12 kB 00:00:00 (15/16): xcb-util-wm-0.4.1-5.el7.x86_64.rpm | 25 kB 00:00:00 (16/16): qt5-qtwebkit-5.6.2-1.el7.x86_64.rpm | 10 MB 00:00:08 ----------------------------------------------------------------------------------------------------- Total 2.5 MB/s | 26 MB 00:00:10 Running transaction check Running transaction test Transaction test succeeded Running transaction Warning: RPMDB altered outside of yum. Installing : qt5-qtbase-5.6.2-1.el7.x86_64 1/17 Installing : qt5-qtbase-common-5.6.2-1.el7.noarch 2/17 Installing : qt5-qtxmlpatterns-5.6.2-1.el7.x86_64 3/17 Installing : xcb-util-keysyms-0.4.0-1.el7.x86_64 4/17 Installing : xcb-util-renderutil-0.3.9-3.el7.x86_64 5/17 Installing : xcb-util-image-0.4.0-2.el7.x86_64 6/17 Installing : xcb-util-wm-0.4.1-5.el7.x86_64 7/17 Installing : qt5-qtbase-gui-5.6.2-1.el7.x86_64 8/17 Installing : qt5-qtdeclarative-5.6.2-1.el7.x86_64 9/17 Installing : qt5-qtgraphicaleffects-5.6.2-1.el7.x86_64 10/17 Installing : qt5-qtlocation-5.6.2-1.el7.x86_64 11/17 Installing : qt5-qtsensors-5.6.2-1.el7.x86_64 12/17 Installing : qt5-qtwebchannel-5.6.2-1.el7.x86_64 13/17 Installing : qt5-qtwebkit-5.6.2-1.el7.x86_64 14/17 Installing : qt5-qtquickcontrols-5.6.2-1.el7.x86_64 15/17 Installing : qt5-qtx11extras-5.6.2-1.el7.x86_64 16/17 Installing : teamviewer-13.0.6634-0.x86_64 17/17 gtk-update-icon-cache: Cache file created successfully. Verifying : xcb-util-wm-0.4.1-5.el7.x86_64 1/17 Verifying : xcb-util-image-0.4.0-2.el7.x86_64 2/17 Verifying : qt5-qtdeclarative-5.6.2-1.el7.x86_64 3/17 Verifying : qt5-qtbase-common-5.6.2-1.el7.noarch 4/17 Verifying : qt5-qtxmlpatterns-5.6.2-1.el7.x86_64 5/17 Verifying : qt5-qtgraphicaleffects-5.6.2-1.el7.x86_64 6/17 Verifying : qt5-qtlocation-5.6.2-1.el7.x86_64 7/17 Verifying : qt5-qtbase-5.6.2-1.el7.x86_64 8/17 Verifying : qt5-qtx11extras-5.6.2-1.el7.x86_64 9/17 Verifying : qt5-qtwebkit-5.6.2-1.el7.x86_64 10/17 Verifying : qt5-qtsensors-5.6.2-1.el7.x86_64 11/17 Verifying : teamviewer-13.0.6634-0.x86_64 12/17 Verifying : xcb-util-renderutil-0.3.9-3.el7.x86_64 13/17 Verifying : qt5-qtwebchannel-5.6.2-1.el7.x86_64 14/17 Verifying : qt5-qtquickcontrols-5.6.2-1.el7.x86_64 15/17 Verifying : qt5-qtbase-gui-5.6.2-1.el7.x86_64 16/17 Verifying : xcb-util-keysyms-0.4.0-1.el7.x86_64 17/17 Installed: teamviewer.x86_64 0:13.0.6634-0 Dependency Installed: qt5-qtbase.x86_64 0:5.6.2-1.el7 qt5-qtbase-common.noarch 0:5.6.2-1.el7 qt5-qtbase-gui.x86_64 0:5.6.2-1.el7 qt5-qtdeclarative.x86_64 0:5.6.2-1.el7 qt5-qtgraphicaleffects.x86_64 0:5.6.2-1.el7 qt5-qtlocation.x86_64 0:5.6.2-1.el7 qt5-qtquickcontrols.x86_64 0:5.6.2-1.el7 qt5-qtsensors.x86_64 0:5.6.2-1.el7 qt5-qtwebchannel.x86_64 0:5.6.2-1.el7 qt5-qtwebkit.x86_64 0:5.6.2-1.el7 qt5-qtx11extras.x86_64 0:5.6.2-1.el7 qt5-qtxmlpatterns.x86_64 0:5.6.2-1.el7 xcb-util-image.x86_64 0:0.4.0-2.el7 xcb-util-keysyms.x86_64 0:0.4.0-1.el7 xcb-util-renderutil.x86_64 0:0.3.9-3.el7 xcb-util-wm.x86_64 0:0.4.1-5.el7 Complete! [root@cdhmaster data]#
默認會安裝到/opt/teamview裏面,而且安裝成功會默認啓動bash
[root@cdhmaster data]# cd /opt/ [root@cdhmaster opt]# ls cloudera-manager rh teamviewer [root@cdhmaster opt]# cd teamviewer/ [root@cdhmaster teamviewer]# ls config doc logfiles tv_bin [root@cdhmaster teamviewer]# cd tv_bin/ [root@cdhmaster tv_bin]# ls desktop script teamviewer-config TeamViewer_Desktop resources TeamViewer teamviewerd xdg-utils [root@cdhmaster tv_bin]#
參考文獻:ide
1.http://blog.csdn.net/changgongzhao/article/details/52299314ui