After installing on Ubuntu very smoothly and liking it, I got the urge to try Linux Mint Debian. I like it a lot. The only thing that I haven’t liked so far is my difficulty in getting MySQL Workbench installed. Small challenge really, and mostly fun. I do realize the this version of Debian is “wheezy/sid” which is only in “testing”. Still, it works great.
Of course, first I found somebody else who got Workbench compiled and running on Debian Squeeze and then wrote about it over at Robo47.net. Then, through trial and error, I modified the steps as I went, but they basically stayed the same.
Here’s what I did to get it running on my system
- Install a whole lot of dependencies:
aptitude install libzip-dev libzip1 libxml2-dev libsigc++-2.0-dev libcairomm-1.0-dev \ libglibmm-2.4-dev libpangomm-1.4-dev libglade2-dev libaudiofile-dev libavahi-client-dev libavahi-common-dev \ libavahi-glib-dev libbonobo2-dev libdbus-1-dev libesd0-dev libgconf2-dev libgcrypt11-dev libgnomevfs2-dev libgnutls-dev \ libgpg-error-dev libpopt-dev libselinux1-dev libsepol1-dev libtasn1-3-dev libsqlite3-dev libboost-dev libmysqlclient-dev \ libmysqld-dev uuid-dev liblua5.1-0-dev libncurses5-dev libreadline-dev libreadline6-dev libfribidi-dev libgl1-mesa-dev \ libglc-dev libglc0 libglu1-mesa-dev mesa-common-dev libpcre3-dev libpcrecpp0 python-paramiko libgtkmm-2.4-dev \ libgnome2-dev python-dev
- Download the source. Make sure you get the ‘oss’ not the ‘gpl’. Untar and position inside the directory:
wget ftp://ftp.gwdg.de/pub/misc/mysql/Downloads/MySQLGUITools/mysql-workbench-oss-5.2.22.tar.gz tar xzvf mysql-workbench-oss-5.2.22.tar.gz cd mysql-workbench-oss-5.2.22
- Build and Install. NOTE: I ran the autogen three times, adding more needed packages (see list above), and it took a long time (old laptop), but it worked.
./autogen.sh --prefix=<some path> make make install
- Run it:
<some path>/bin/mysql-workbench