一、下載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了