如何在CentOS 8/RHEL 8桌面上安装TeamViewer

时间:2020-02-23 14:30:54  来源:igfitidea点击:

问题:如何在CentOS 8/RHEL 8 Desktop操作系统上安装TeamViewer? TeamViewer是用于基于Internet的远程支持的专有软件。它使我们能够以简单,快速和安全的方式访问远程系统,从而执行各种操作,例如远程服务器/桌面控制,桌面共享,Web会议,举行在线会议以及计算机之间的文件传输。

TeamViewer仅免费供个人使用。如果我们计划在中推广,则在使用许可证之前,需要先获得许可证。 TeamViewer Desktop应用程序是一个多平台,可在Windows,Linux和macOS上运行。本指南旨在帮助桌面用户在CentOS 8/RHEL 8桌面上安装TeamViewer。因此,让我们开始吧。

在CentOS 8/RHEL 8桌面上安装TeamViewer

我们可以在"下载"页面上获取最新版本的TeamViewer。那么首先安装wget,然后在CentOS 8/RHEL 8上下载TeamViewer。

sudo dnf -y install https://dl.fedoraproject.org/pub/epel/epel-release-latest-8.noarch.rpm
sudo dnf -y install wget
wget https://download.teamviewer.com/download/linux/teamviewer.x86_64.rpm

下载RPM软件包后,请使用系统中可用的yum软件包管理工具的rpm进行安装。

sudo dnf --enablerepo epel-playground install ./teamviewer*.rpm

当要求我们完成在CentOS 8/RHEL 8 Desktop上的TeamViewer客户端安装时,按y键。

$Extra Packages for Enterprise Linux 8 -  487 kB/s | 3.0 MB     00:06    
Last metadata expiration check: 0:00:01 ago on Sat 19 Oct 2019 03:04:19 PM EAT.
Dependencies resolved.
=========================================================================
 Package              Arch   Version                     Repository
                                                                    Size
=========================================================================
Installing:
 teamviewer           x86_64 14.6.2452-0                 @commandline
                                                                    13 M
Installing dependencies:
 cmake                x86_64 3.11.4-3.el8                AppStream 8.2 M
 cmake-data           noarch 3.11.4-3.el8                AppStream 1.3 M
 cmake-filesystem     x86_64 3.11.4-3.el8                AppStream  40 k
 cmake-rpm-macros     noarch 3.11.4-3.el8                AppStream  39 k
 cpp                  x86_64 8.2.1-3.5.el8               AppStream  10 M
 gcc                  x86_64 8.2.1-3.5.el8               AppStream  23 M
 gcc-c++              x86_64 8.2.1-3.5.el8               AppStream  12 M
 isl                  x86_64 0.16.1-6.el8                AppStream 841 k
 libX11-devel         x86_64 1.6.7-1.el8                 AppStream 976 k
 libXau-devel         x86_64 1.0.8-13.el8                AppStream  20 k
 libXdamage-devel     x86_64 1.1.4-14.el8                AppStream  15 k
 libXext-devel        x86_64 1.3.3-9.el8                 AppStream  80 k
 libXfixes-devel      x86_64 5.0.3-7.el8                 AppStream  19 k
 libXxf86vm-devel     x86_64 1.1.4-9.el8                 AppStream  20 k
 libdrm-devel         x86_64 2.4.96-2.el8                AppStream 152 k
 libglvnd-core-devel  x86_64 1:1.0.1-0.9.git5baa1e5.el8  AppStream  24 k
 libglvnd-devel       x86_64 1:1.0.1-0.9.git5baa1e5.el8  AppStream  16 k
 libglvnd-opengl      x86_64 1:1.0.1-0.9.git5baa1e5.el8  AppStream  48 k
 libstdc++-devel      x86_64 8.2.1-3.5.el8               AppStream 2.0 M
 libuv                x86_64 1:1.23.1-1.el8              AppStream 134 k
 libxcb-devel         x86_64 1.13-5.el8                  AppStream 1.1 M
 mesa-khr-devel       x86_64 18.3.1-5.el8_0              AppStream  33 k
 mesa-libEGL-devel    x86_64 18.3.1-5.el8_0              AppStream  46 k
 mesa-libGL-devel     x86_64 18.3.1-5.el8_0              AppStream 176 k
 qt5-qtbase           x86_64 5.11.1-5.el8                AppStream 3.3 M
 qt5-qtbase-common    noarch 5.11.1-5.el8                AppStream  39 k
 qt5-qtbase-devel     x86_64 5.11.1-5.el8                AppStream 4.5 M
 qt5-qtbase-gui       x86_64 5.11.1-5.el8                AppStream 5.7 M
 qt5-qtdeclarative    x86_64 5.11.1-3.el8                AppStream 3.4 M
 qt5-qtlocation       x86_64 5.11.1-2.el8                AppStream 3.0 M
 qt5-qtquickcontrols  x86_64 5.11.1-2.el8                AppStream 1.0 M
 qt5-qtsensors        x86_64 5.11.1-2.el8                AppStream 220 k
 qt5-qtwebchannel     x86_64 5.11.1-2.el8                AppStream  92 k
 qt5-qtx11extras      x86_64 5.11.1-2.el8                AppStream  34 k
 qt5-qtxmlpatterns    x86_64 5.11.1-2.el8                AppStream 1.1 M
 qt5-rpm-macros       noarch 5.11.1-2.el8                AppStream  12 k
 xcb-util-image       x86_64 0.4.0-9.el8                 AppStream  21 k
 xcb-util-keysyms     x86_64 0.4.0-7.el8                 AppStream  16 k
 xcb-util-renderutil  x86_64 0.3.9-10.el8                AppStream  19 k
 xcb-util-wm          x86_64 0.4.1-12.el8                AppStream  32 k
 xorg-x11-proto-devel noarch 2016.4-1.el8                AppStream 283 k
 glibc-devel          x86_64 2.28-42.el8.1               BaseOS    1.0 M
 glibc-headers        x86_64 2.28-42.el8.1               BaseOS    465 k
 kernel-headers       x86_64 4.18.0-80.11.2.el8_0        BaseOS    1.6 M
 libxcrypt-devel      x86_64 4.1.1-4.el8                 BaseOS     25 k
 pcre2-utf16          x86_64 10.32-1.el8                 BaseOS    228 k
 qt5-qtwebkit         x86_64 5.212.0-0.37.alpha2.epel8.playground
                                                         epel-playground
                                                                    13 M

Transaction Summary
=========================================================================
Install  48 Packages

Total size: 114 M
Total download size: 101 M
Installed size: 389 M
Is this ok [y/N]: y

还接受GPG密钥导入。

warning: /var/cache/dnf/epel-playground-f4a60bdd14783f87/packages/qt5-qtwebkit-5.212.0-0.37.alpha2.epel8.playground.x86_64.rpm: Header V3 RSA/SHA256 Signature, key ID 2f86d6a1: NOKEY
Extra Packages for Enterprise Linux 8 -  1.6 MB/s | 1.6 kB     00:00    
Importing GPG key 0x2F86D6A1:
 Userid     : "Fedora EPEL (8) <theitroad@localhost>"
 Fingerprint: 94E2 79EB 8D8F 25B2 1810 ADF1 21EA 45AB 2F86 D6A1
 From       : /etc/pki/rpm-gpg/RPM-GPG-KEY-EPEL-8
Is this ok [y/N]: y

可以使用以下命令查询有关已安装软件包的更多信息。

$rpm -qi teamviewer
Name        : teamviewer
Version     : 14.6.2452
Release     : 0
Architecture: x86_64
Install Date: Sat 19 Oct 2019 03:07:30 PM EAT
Group       : Applications/Internet
Size        : 69139541
License     : Proprietary; includes Free Software components.
Signature   : RSA/SHA1, Thu 12 Sep 2019 02:05:15 PM EAT, Key ID c5e224500c1289c0
Source RPM  : teamviewer-14.6.2452-0.src.rpm
Build Date  : Thu 12 Sep 2019 02:03:55 PM EAT
Build Host  : LnxRelease-02
Relocations : (not relocatable)
Vendor      : TeamViewer GmbH
URL         : http://www.teamviewer.com
Summary     : Remote control and meeting solution.
Description :

TeamViewer is free for personal use.
You can use TeamViewer completely free of charge to access your private
computers or to help your friends with their computer problems.

To buy a license for commercial use, please visit http://www.teamviewer.com

This package contains Free Software components.
For details, see /opt/teamviewer/doc/license_foss.txt

在CentOS 8/RHEL 8上启动TeamViewer

在RHEL 8/CentOS Linux上安装TeamViewer之后,可以从Desktop Apps菜单或者CLI启动它。要从桌面环境应用程序启动器在CentOS 8/RHEL 8上启动TeamViewer,请搜索teamviewer,然后按<Enter>键。

通过执行以下命令,可以从CLI进行相同的操作:

$teamviewer
Init...
CheckCPU: SSE2 support: yes
Checking setup...
Launching TeamViewer ...
Launching TeamViewer GUI ...

首先要求我们接受许可协议,然后输入远程计算机详细信息以获取访问权限(ID和密码)。

运行中的TeamViewer应用程序将显示类似于以下共享窗口的窗口。

这就是如何在RHEL 8/CentOS 8 Desktop Linux系统上安装TeamViewer的全部内容。