要在CentOS 8和Red Hat Enterprise Linux 8上安装TeamViewer (Classic),必须考虑以下要点。
本文适用于所有TeamViewer (Classic)用户。
所有RPM系统(包括Fedora)
当首次通过命令行在RPM系统上安装TeamViewer (Classic)时,它可能会抱怨缺少密钥来验证程序包的签名。 您可以忽略/覆盖它,也可以先安装我们的公钥。
在此处下载公钥文件,并以管理员身份使用以下命令导入密钥:
rpm --import TeamViewer (Classic)_Linux_PubKey.asc
Red Hat Enterprise Linux
在RHEL上,TeamViewer (Classic)目前只能安装Workstation或Server订阅。 使用RHEL Desktop订阅时,并非所有依赖项(即qt5-qtdeclarative)都可以解析。
此外,需要启用epel repository。
所需步骤:
# RHEL 7 preparation
wget https://dl.fedoraproject.org/pub/epel/epel-release-latest-7.noarch.rpm
yum install ./epel-release-latest-7.noarch.rpm
# RHEL 8 preparation
wget https://dl.fedoraproject.org/pub/epel/epel-release-latest-8.noarch.rpm
yum install ./epel-release-latest-8.noarch.rpm
# download TeamViewer (Classic) Host for 64bit
wget https://download.teamviewer.com/download/linux/teamviewer-host.x86_64.rpm
# alternatively, download full client
wget https://download.teamviewer.com/download/linux/teamviewer.x86_64.rpm
# install the package (RHEL 7)
yum install ./teamviewer*.rpm
# install the package (RHEL 8)
yum --enablerepo epel-playground install ./teamviewer*.rpm
CentOS
在CentOS 7 和 8 上,需要epel repositury。
所需步骤:
# preparation: install epel-release
yum install epel-release
# download and install (example: TeamViewer (Classic) Host, 64 bit)
wget https://download.teamviewer.com/download/linux/teamviewer-host.x86_64.rpm
yum install ./teamviewer-host*.rpm
📌注意: 在从7.3到7.4的过渡期间,还需要cr repository。如果无法满足某些依赖项,您可以尝试使用 yum install ./teamviewer-host*.rpm --enablerepo="cr"
.