How to install MySQL workbench?
Sophia Terry
Installing MySQL workbench on 10.04 or 10.10 is not a problem, as the deb packages are available on MySQL's website. But there is no 11.04 deb package available.
So, how do I install MySQL workbench on 11.04 and keep it updated automatically when updates become available to ubuntu via apt-get update.
8 Answers
Run this command in Terminal (Ctrl+Alt+T):
sudo apt-get install mysql-workbench 3 Select "Ubuntu" from MySQL Workbench downloads page
You will have a choice of:
Ubuntu Linux ver. 10.10 (x86, 64-bit), DEB (mysql-workbench-gpl-5.2.33b-1ubu1010-amd64.deb) Ubuntu Linux ver. 10.10 (x86, 32-bit), DEB (mysql-workbench-gpl-5.2.33b-1ubu1010-i386.deb)
and 2 slightly older versions:
Ubuntu Linux ver. 10.04 (x86, 64-bit), DEB (mysql-workbench-gpl-5.2.33b-1ubu1004-amd64.deb) Ubuntu Linux ver. 10.04 (x86, 32-bit), DEB (mysql-workbench-gpl-5.2.33b-1ubu1004-i386.deb)
As you can see there are only 10.04 versions but you can download the .deb you need and when it is done downloading Ubuntu Software Center will open up with this screen:
and the rest is just normal Ubuntu.
I needed it myself (mysql-workbench-gpl-5.2.33b-1ubu1010-i386.deb) so I can confirm it works.
Finally I found the easiest and direct way of installing MySQL Workbench on my 12.04 LTS.
(1) Simply install Synaptic package manager (from Ubuntu software center).
(2) Find MySQL Workbench under Database category (see the screen shot).
EDIT:As of August 2012, MySQL has released MySQL Workbench for Ubuntu 12.04, available here
The cause for me was a broken MWB dependency on libzip.so.1 in Ubuntu 12.04 release.
Synaptic (Ubuntu software manager) saved me with these Ubuntu upgrade growing pains:
libzip1:
Package libzip1 has no available version, but exists in the database.
This typically means that the package was mentioned in a dependency and never uploaded, has been obsoleted or is not available with the contents of sources.listHere's a link to the required oneiric libzip package
2For the Ubuntu Oneiric 11.10 follow the instructions on this link.
I choose to install using ppa launchpad so I can confirm that worked for me at an amd64 distro.
EDIT: Link replaced as suggested below by CodeReaper
1In fact, mysql-workbench is available in the Ubuntu repositories (universe/database), so it should show up in Synaptic/Software-center/etc.
aptitude search mysql-workbench aptitude show mysql-workbench 3 For Ubuntu (I have installed in Ubuntu 16) run below command:
sudo apt-get install mysql-workbench-communityreferred link: mysql community website
and below command also works:
sudo apt-get install mysql-workbench Did you do a Google search?
The first or second search results for ubuntu 12.04 mysql workbench should do the trick.
Please note: I am aware that LMGTFY-type answers aren't encouraged on this site; however I did not see the need to answer the question in detail if an easy-to-find blog post explained everything already.
4