56

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.

chrisjlee
  • 10,786
oshirowanen
  • 3,977

8 Answers8

71

Run this command in Terminal (Ctrl+Alt+T):

sudo apt-get install mysql-workbench
Zanna
  • 70,465
  • 1
    Thanks, running an apt-get is almost always preferable + quicker than opening any web browser (in Linux) for me – sofly Feb 22 '15 at 20:10
  • Before running the command, it is recommendable update the packages list: sudo apt-get update and after that run: sudo apt-get install mysql-workbench – jherax Apr 07 '16 at 18:05
  • 1
    For UBUNTU 16, see http://askubuntu.com/a/58207/439867 – Peter Krauss Aug 05 '16 at 02:20
27

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:

im1

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.

Shashanth
  • 463
Rinzwind
  • 299,756
  • 2
    I can second the fact that the 5.2.33b-1ubu1010 install works on 11.04 – Marco Ceppi May 25 '11 at 16:20
  • I was trying to install the 10.10 version, it would download, and automatically opened up the ubuntu software center. I clicked install and the ubuntu software center just froze. I tried the process twice, and got the same results each time. I will give the 10.04 version a try tomorrow. – oshirowanen May 25 '11 at 18:57
  • @oshirowanen I had the same issue as you with the software centre freezing - I clicked the 'intall in progress icon' and saw the message 'waiting for synaptic to exit' - sure enough I had synaptic open, and when I closed it everything ran through ok –  Jul 16 '11 at 13:59
  • 1
    The official .deb didn't work for me, instead, the sudo apt-get install mysql-workbench works well. – Dorian Jan 29 '13 at 01:43
  • @Dorian you do realise this was a valid answer for 11.04 and the current workbench was added after the answer? – Rinzwind Jan 29 '13 at 07:43
  • @Rinzwind You could edit your answer. – Dorian Jan 29 '13 at 17:22
  • @dorian no, since it then would -not- be an answer to the question (and the person who downvoted should learn when to downvote). – Rinzwind Jan 29 '13 at 18:03
  • @Rinzwind It is: Look at other answers, the correct answer is to use apt-get. And please re-read the question. I downvoted because this answer is wrong, users should install mysql-workbench with apt-get and not with this buggy, not up-to-date, proprietary .deb. The thing is: people actually read your answer NOW and the guy who ask don't, so the answer should be up-to-date. – Dorian Jan 30 '13 at 22:22
  • @dorian no. AT THAT TIME it was NOT possible using apt-get. Please stop using comments on a topic well over a year old. – Rinzwind Jan 31 '13 at 07:32
  • @Rinzwind You don't understand that people read it now… I don't want to lose my time with that and it's not really important, just save a bit of time to a bunch of people (your advice would be to repost the question to have a better answer? … did you hear about duplicates?) – Dorian Feb 05 '13 at 18:47
22

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).

enter image description here

EDIT: As of August 2012, MySQL has released MySQL Workbench for Ubuntu 12.04, available here

Zanna
  • 70,465
DUKE
  • 3,368
4

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.list

Here's a link to the required oneiric libzip package

hobs
  • 512
  • The libzip package link not working... Please show how to, all commands before sudo apt-get install mysql-workbench – Peter Krauss Aug 05 '16 at 01:44
  • Libzip1 was deleted, see http://www.ubuntuupdates.org/libzip1 ... See http://askubuntu.com/a/58207/439867 as how-to that works fine. – Peter Krauss Aug 05 '16 at 02:21
2

In 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
  • Reconfirm this in 12.04's repositories, this information you have stated is conflicting with other information I have seen. – Thomas Ward Jun 06 '12 at 19:55
  • Can you please tell me a little more detail? – DUKE Jun 07 '12 at 03:44
  • mysql-workbench package is indeed available in the Ubuntu "universe" repo for 12.04: http://us.archive.ubuntu.com/ubuntu/ precise/universe mysql-workbench i386 5.2.38+dfsg-3 [11.7 MB] – hobs Jun 16 '12 at 18:01
2

For 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

  • The link is broken... :-/ So I am going to use this link instead http://www.gaggl.com/2011/12/installing-mysql-workbench-on-ubuntu-11-10/ – CodeReaper Mar 12 '12 at 14:47
0

For Ubuntu (I have installed in Ubuntu 16) run below command:

sudo apt-get install mysql-workbench-community

referred link: mysql community website

and below command also works:

sudo apt-get install mysql-workbench
Ravistm
  • 131
-1

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.

SirCharlo
  • 39,486
  • 1
    Good suggestion, but I am a little scared about installing external packages (packages from unknown sources). – DUKE Jun 06 '12 at 04:00
  • 2
    Usually there's no problem. If you're nervous, however, try the second link. You'll see that it contains links to files on packages.ubuntu.com. This site is hosted by Canonical, the company behind Ubuntu. If a package is on that site, then there's every reason to believe that it's safe to install. – SirCharlo Jun 06 '12 at 04:06
  • second blog link is definitely the answer – hobs Jun 16 '12 at 18:20
  • 2
    The post isn't available anymore in the second link. You should have copied the content in your answer ;( Actually the same website has a post on installing MWB on Ubuntu 12 http://blog.brunobraga.net/mysql-workbench-on-ubuntu-12-10/ – Ejaz Aug 31 '14 at 12:35