一、下载teamview centos版本html
官网只有rpm版本,附件中即为官网下载的teamview最新版本linux
(下载tar包方式,我这里打不开teamviewer的界面,因此这里不推荐)web
官方下载地址:centos
https://www.teamviewer.com/zhCN/download/linux/ui
二、下载rpm版本后,cd切换到下载目录下,执行以下安装命令,安装rpm软件this
yum install ./teamviewer.x86_64.rpm
会问你是否安装依赖Is this ok [y/N]: spa
输入y便可3d
三、执行上面命令,会发现以下错误,找不到libQt5WebKitWidgets.socode
Error: Package: teamviewer-13.0.6634-0.x86_64 (/teamviewer.x86_64)
Requires: libQt5WebKitWidgets.so.5()(64bit) >= 5.5
You could try using --skip-broken to work around the problem
You could try running: rpm -Va --nofiles --nodigest
四、下载qt5-qtwebkit的rpm包htm
官方地址:
https://centos.pkgs.org/7/epel-x86_64/qt5-qtwebkit-5.9.1-1.el7.x86_64.rpm.html
五、安装qt5-qtwebkit
yum install ./qt5-qtwebkit-5.9.1-1.el7.x86_64.rpm
六、再次安装TeamViewer
yum install ./teamviewer.x86_64.rpm
七、启动TeamViewer
默认会安装到/opt/teamview里面,而且安装成功会默认启动
cd /opt/teamviewer/tv_bin/
用teamviewer --info命令可查看teamview运行状态
若是没有设置密码,TeamViewer ID: 后面会是空的,
执行命令 teamviewer --passwd 你的密码
再次运行teamviewer --info命令就能够看到ID了