目前,老版本的TeamViewer已经无法在原有的Centos 6系统上使用,提示需要升级。下面就让我们来看看Centos 6如何安装最新版TeamViewer14.4.2669。
Centos 6安装最新版TeamViewer
升级系统
yum -y update
卸载老版本
如果之前安装过老版本TeamViewer,那么使用如下命令卸载:
rpm --erase teamviewer
下载TeamViewer
wget https://download.teamviewer.com/download/linux/teamviewer.x86_64.rpm
安装TeamViewer
- 首先,我们使用命令直接安装TeamViewer:
rpm -ivh teamviewer_14.4.2669.x86_64.rpm
得到如下错误信息:
可以看到,最新版的TeamViewer依赖QT5和GLIBC_2.17
。
安装QT5
-
安装EPEL Repo:
yum -y install https://dl.fedoraproject.org/pub/epel/epel-release-latest-6.noarch.rpm
-
安装QT5:
yum -y install qt5*x86_64
安装GLIBC_2.17
-
下载rpm包:
wget https://copr-be.cloud.fedoraproject.org/results/mosquito/myrepo-el6/epel-6-x86_64/glibc-2.17-55.fc20/glibc-2.17-55.el6.x86_64.rpm https://copr-be.cloud.fedoraproject.org/results/mosquito/myrepo-el6/epel-6-x86_64/glibc-2.17-55.fc20/glibc-common-2.17-55.el6.x86_64.rpm https://copr-be.cloud.fedoraproject.org/results/mosquito/myrepo-el6/epel-6-x86_64/glibc-2.17-55.fc20/glibc-devel-2.17-55.el6.x86_64.rpm https://copr-be.cloud.fedoraproject.org/results/mosquito/myrepo-el6/epel-6-x86_64/glibc-2.17-55.fc20/glibc-headers-2.17-55.el6.x86_64.rpm
-
安装GLIBC_2.17:
rpm -Uvh glibc-2.17-55.el6.x86_64.rpm glibc-common-2.17-55.el6.x86_64.rpm glibc-devel-2.17-55.el6.x86_64.rpm glibc-headers-2.17-55.el6.x86_64.rpm --force --nodeps
安装TeamViewer
我们用如下命令完成TeamViewer的安装
yum -y install teamviewer_14.4.2669.x86_64.rpm
现在就可以打开TeamViewer,测试一下连接和被连接都正常! :100: