ubuntu 18.04 安装teamviewer 14时遇到的问题

1. 下载

网上下载到的teamviewer14是一个deb包,下载地址:https://www.teamviewer.cn/cn/download/linux/?os=linux

2. 安装

安装时使用:sudo dpkg -i teamviewer_14.2.8352_amd64.deb,出现错误:

teamviewer depends on qml-module-qtquick2 (>= 5.5) | qt56-teamviewer; however:
  Package qml-module-qtquick2 is not installed.
  Package qt56-teamviewer is not installed.
 teamviewer depends on qml-module-qtquick-controls (>= 5.5) | qt56-teamviewer; however:
  Package qml-module-qtquick-controls is not installed.
  Package qt56-teamviewer is not installed.
 teamviewer depends on qml-module-qtquick-dialogs (>= 5.5) | qt56-teamviewer; however:
  Package qml-module-qtquick-dialogs is not installed.
  Package qt56-teamviewer is not installed.
 teamviewer depends on qml-module-qtquick-window2 (>= 5.5) | qt56-teamviewer; however:
  Package qml-module-qtquick-window2 is not installed.
  Package qt56-teamviewer is not installed.
 teamviewer depends on qml-module-qtquick-layouts (>= 5.5) | qt56-teamviewer; however:
  Package qml-module-qtquick-layouts is not installed.
  Package qt56-teamviewer is not installed.

dpkg: error processing package teamviewer (--install):
 dependency problems - leaving unconfigured
Processing triggers for gnome-menus (3.13.3-11ubuntu1.1) ...
Processing triggers for desktop-file-utils (0.23-1ubuntu3.18.04.2) ...
Processing triggers for mime-support (3.60ubuntu1) ...
Processing triggers for hicolor-icon-theme (0.17-2) ...
Errors were encountered while processing:
 teamviewer

3. 解决方案

使用如下命令修复安装包

$ sudo apt-get --fix-broken install

或者使用命令

$ sudo dpkg --purge xxx

解决方案引用了 meetlinux的内容,感谢:https://www.jianshu.com/p/110206657688

4. 运行:

$ teamviewer

 

你可能感兴趣的:(Tools)