ubuntu16.04安装workbench

Posted 伯牙绝音

tags:

篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了ubuntu16.04安装workbench相关的知识,希望对你有一定的参考价值。

sudo dpkg -i mysql-workbench-community-6.3.10-1ubuntu16.04-amd64.deb

报错:

Selecting previously unselected package mysql-workbench-community.
(Reading database ... 216034 files and directories currently installed.)
Preparing to unpack mysql-workbench-community-6.3.10-1ubuntu16.04-amd64.deb ...
Unpacking mysql-workbench-community (6.3.10-1ubuntu16.04) ...
dpkg: dependency problems prevent configuration of mysql-workbench-community:
 mysql-workbench-community depends on libgeos-c1v5 (>= 3.4.2); however:
  Package libgeos-c1v5 is not installed.
 mysql-workbench-community depends on libhdf4-0-alt; however:
  Package libhdf4-0-alt is not installed.
 mysql-workbench-community depends on libmysqlclient20 (>= 5.7.11); however:
  Package libmysqlclient20 is not installed.
 mysql-workbench-community depends on libnetcdf11 (>= 4.0.1); however:
  Package libnetcdf11 is not installed.
 mysql-workbench-community depends on libpcrecpp0v5 (>= 7.7); however:
  Package libpcrecpp0v5 is not installed.
 mysql-workbench-community depends on libpq5; however:
  Package libpq5 is not installed.
 mysql-workbench-community depends on libxerces-c3.1; however:
  Package libxerces-c3.1 is not installed.
 mysql-workbench-community depends on libzip4 (>= 0.10); however:
  Package libzip4 is not installed.
 mysql-workbench-community depends on python-paramiko (>= 1.15.1); however:
  Package pyth
dpkg: error processing package mysql-workbench-community (--install):
 dependency problems - leaving unconfigured
Processing triggers for shared-mime-info (1.5-2ubuntu0.1) ...
Processing triggers for hicolor-icon-theme (0.15-0ubuntu1) ...
Processing triggers for gnome-menus (3.13.3-6ubuntu3.1) ...
Processing triggers for desktop-file-utils (0.22-1ubuntu5.1) ...
Processing triggers for bamfdaemon (0.5.3~bzr0+16.04.20160824-0ubuntu1) ...
Rebuilding /usr/share/applications/bamf-2.index...
Processing triggers for mime-support (3.59ubuntu1) ...
Errors were encountered while processing:
 mysql-workbench-community

然后执行

sudo apt install libgeos-c1v5 libhdf4-0-alt libmysqlclient20 libnetcdf11 libpcrecpp0v5 libpq5 libxerces-c3.1 libzip4 python-paramiko

继续报错:

[email protected]:~/Downloads$ sudo apt-get install libpq5
Reading package lists... Done
Building dependency tree       
Reading state information... Done
You might want to run apt-get -f install to correct these:
The following packages have unmet dependencies:
 mysql-workbench-community : Depends: libgeos-c1v5 (>= 3.4.2) but it is not going to be installed
                             Depends: libhdf4-0-alt but it is not going to be installed
                             Depends: libmysqlclient20 (>= 5.7.11) but it is not going to be installed
                             Depends: libnetcdf11 (>= 4.0.1) but it is not going to be installed
                             Depends: libpcrecpp0v5 (>= 7.7) but it is not going to be installed
                             Depends: libxerces-c3.1 but it is not going to be installed
                             Depends: libzip4 (>= 0.10) but it is not going to be installed
                             Depends: python-paramiko (>= 1.15.1) but it is not going to be installed
                             Depends: python-crypto but it is not going to be installed
E: Unmet dependencies. Try apt-get -f install with no packages (or specify a solution).

根据提示,执行如下命令:

sudo apt-get -f install 

然后再执行安装:

sudo dpkg -i mysql-workbench-community-6.3.10-1ubuntu16.04-amd64.deb

 

以上是关于ubuntu16.04安装workbench的主要内容,如果未能解决你的问题,请参考以下文章

ubuntu16.04 下安装phpMyAdmin

Ubuntu安装MySQL Workbench

Ubuntu16.04上用源代码安装ICE

Ubuntu上安装MySQL跟Workbench

ubuntu安装mysql可视化工具MySQL-workbench及简单操作

Ubuntu 下安装 MySQL Workbench