skip to Main Content

I tried the following commands :

sudo dpkg -i mysql-apt-config_0.3.5-1debian8_all.deb
sudo apt-get update
sudo apt-get install mysql-workbench-community

but on searching mysql-workbench-community

sudo apt-cache search workbench | grep mysql

returns nothing.

And

sudo apt-get install mysql-workbench-community
Reading package lists... Done
Building dependency tree       
Reading state information... Done
E: Unable to locate package mysql-workbench-community

What to do ?

5

Answers


  1. I did manage to install without issues MySQL Workbench 8.0.19 version from an Ubuntu package in Debian Buster, with the command:

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

    First you must download the package from the mysql website:

    Just select Ubuntu Linux operating system and 18.04 version (19.10 version had broken dependencies) .

    Hope this helps.

    Login or Signup to reply.
  2. It can also be installed from Snapcraft. I haven’t used it that much, but apparently it works. First you need to enable snapd:

    $ sudo apt update

    $ sudo apt install snapd

    $ sudo snap install core

    Then install MySQL workbench (community edition):

    $ sudo snap install mysql-workbench-community

    If you want to delete it, simply:

    $ sudo snap remove mysql-workbench-community

    Login or Signup to reply.
  3. I was able to install the latest version of MySQL Workbench (as of this writing) on Debian 10 using this method:

    sudo apt install ./mysql-workbench-community_8.0.23-1ubuntu20.10_amd64.deb
    

    A couple dependencies were missing so I subsequently ran:

    sudo apt --fix-broken install
    

    Just started using it, but MySQL Workbench seems to be running fine. It’s also worth mentioning the link below states MySQL Workbench community is not available on Debian, although I’m not sure why this is the case.

    mysql-workbench-community – MySQL Workbench (not available for Debian
    platforms)

    https://dev.mysql.com/doc/mysql-apt-repo-quick-guide/en/#repo-qg-apt-available

    Login or Signup to reply.
  4. Command line to install mysql on Debian 10:

    $ sudo apt update
    $ sudo apt upgrade
    $ wget http://repo.mysql.com/mysql-apt-config_0.8.13-1_all.deb
    $ sudo dpkg -i mysql-apt-config_0.8.13-1_all.deb
    

    Remember to make safe passwords with lettler numbers and symbols

    $ sudo apt update
    $ sudo apt install mysql-server
    $ sudo apt-get build-dep mysql-server
    $ wget https://downloads.mysql.com/archives/get/file/mysql-workbench-community_8.0.16-1ubuntu18.04_amd64.deb
    $ sudo dpkg -i mysql-workbench-community_8.0.16-1ubuntu18.04_amd64.deb
    $ sudo apt install -f
    $ sudo dpkg -i mysql-workbench-community_8.0.16-1ubuntu18.04_amd64.deb
    

    have a nice coding!

    Login or Signup to reply.
Please signup or login to give your own answer.
Back To Top
Search