Problem Installing mysql-workbench on ubuntu 19.04

…衆ロ難τιáo~ 提交于 2020-01-23 06:14:42

问题


It says it is not available in any source. Tried using the debian provided by oracle. It says libssl versions are incompatible. Any help in this regard.


回答1:


Now, mysql workbench is available for ubuntu 19.04. You can manually install after downloading the file.

Step 1: Direct download link- https://dev.mysql.com/downloads/file/?id=488567

OR

Visit here select your OS then download as per OS version https://dev.mysql.com/downloads/workbench/

Step 2: sudo apt install file_path_of_downloaded_workbench

Finish!!




回答2:


I solved this problem by installing the libzip package, directly from the deb package. I found at https://ubuntu.pkgs.org/18.10/ubuntu-universe-amd64/libzip4_1.1.2-1.1_amd64.deb.html. Download and install libzip4, then install mysql-workbench from the apt or deb package, whichever you prefer.




回答3:


on Ubuntu 19

1)I had to, preceding it on Ubuntu 19, also install manually a library libzip https://ubuntu.pkgs.org/18.10/ubuntu-universe-amd64/libzip4_1.1.2-1.1_amd64.deb.html

2) then manually selecting on a download page deb package for mysql workbench https://dev.mysql.com/downloads/workbench/

then install deb packages via a standard apt installer in a Downloads dir

sudo apt install ./libzip4_1.1.2-1.1_amd64.deb

and downloaded workbench deb package

sudo apt install ./mysql-workbench-community_8.0.16-1ubuntu18.04_amd64.deb




回答4:


You can download the source code from https://dev.mysql.com/downloads/workbench/, compile it and install it. I did it that way and it works perfectly for me. I had to install several package dependencies and review some basic compiler details, but in the end the result was successful. Follow the INSTALL file instructions and consider removing the Werror option from the CMakeLists.txt. Download antlr-4.7.1-complete.jar from web, and then run:

cmake -Wno-dev -DWITH_ANTLR_JAR='path_to_antlr-4.7.1-complete.jar' -Wno-error
make
sudo make install

screenshoot 1

screenshoot 2




回答5:


UBUNTU 19.04 disco dingo -> mysql-workbench install steps:

  1. add mysql complete source list from: https://dev.mysql.com/get/mysql-apt-config_0.8.13-1_all.deb

  2. install libs: sudo apt-get install libgtkmm-3.0 libpcre++*

  3. add debian source list on "/etc/apt/sources.list" :

deb  http://deb.debian.org/debian stretch main contrib non-free
deb-src  http://deb.debian.org/debian stretch main
deb  http://deb.debian.org/debian stretch-updates main contrib non-free
deb-src  http://deb.debian.org/debian stretch-updates main
deb http://security.debian.org/ stretch/updates main contrib non-free
deb-src http://security.debian.org/ stretch/updates main
  1. sudo apt update && sudo apt upgrade -y && sudo apt dist-upgrade -y

  2. sudo apt-get install mysql-utilities mysql-common mysql-community*

  3. sudo apt-get install mysql-workbench (finish!!)

works here!




回答6:


check out gdebi

gdebi is a tool resolving & installing dependencies, for more info http://manpages.ubuntu.com/manpages/bionic/man1/gdebi.1.html




回答7:


1) Install libzip4

curl -OL http://launchpadlibrarian.net/260671111/libzip4_1.1.2-1.1_amd64.deb

sudo dpkg -i libzip4_1.1.2-1.1_amd64.deb

2) Then install MySQL workbench on Ubuntu 19.04 by running the commands:

curl -OL https://dev.mysql.com/get/Downloads/MySQLGUITools/mysql-workbench- 
community_8.0.16-1ubuntu18.04_amd64.deb

sudo dpkg -i mysql-workbench-community_8.0.16-1ubuntu18.04_amd64.deb

3) Install missing dependencies (libatkmm-1.6-1v5, libglibmm-2.4-1v5, libgtk2.0-0, libgtkmm-3.0-1v5, libpcrecpp0v5, libpython2.7, libsigc++-2.0-0v5, libtinfo5) by this command.

sudo apt --fix-broken install

Hope this helps.




回答8:


Download the .deb file from here

Install it using command

dpkg -i *.deb。



回答9:


Now MYSQL-WORKBENCH for Ubuntu-19.04(Disco) is available.

To install mysql workbench form command line you need add dependencies manually.

  • Edit your /etc/apt/sources.list and Append following lines:

deb http://security.ubuntu.com/ubuntu cosmic-security main

deb http://cz.archive.ubuntu.com/ubuntu cosmic main universe

  • sudo apt-get update

  • Download mysql-workbench from 'Mysql Workbench-19.04 for Ubuntu' and install by giving execute permission to mysql-workbench-community_8.0.17-1ubuntu19.04_amd64.deb file.

Now it should work. :)



来源:https://stackoverflow.com/questions/55768553/problem-installing-mysql-workbench-on-ubuntu-19-04

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!