Debian squeeze and mysql-workbench

Salut à tous,

aujourd’hui … comment installer mysql-workbench  (IHM pour mysql client) sur une debian squeeze from source :

1/ DL des source :

Allez à la page : ftp://ftp.gwdg.de/pub/misc/mysql/Downloads/MySQLGUITools/ et télécharger le tar.gz le plus récent en stable.

Pour ceux qui ont mal au yeux pour choisir lancez ça dans le terminal pour faire un wget sur la version voulu:

cd ~
wget -qO - ftp://ftp.gwdg.de/pub/misc/mysql/Downloads/MySQLGUITools/ \
| grep tar.gz | cut -d "\"" -f2 | sort -d  | grep -v md5 | grep -v "r[0-9]" \
| grep -v "[0-9]a"  | grep -v "[0-9]b" | grep -v "\-src"
# et prendre la dernière version
wget -c ftp://ftp.gwdg.de:21/pub/misc/mysql/Downloads/MySQLGUITools/mysql-workbench-oss-5.2.22.tar.gz

2/ Installation du gros tas de dépendances

sudo apt-get 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 \
libboost1.42-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 \
autoconf gtkmm-2.4 libgnome2.0 libgnome2.0-cil-dev libgnomeui-0 \
libgnomeui-dev libgnomeui-dev libgnomeui-0-dbg python-dev

3/ Configuration

cd ~
tar -zxvf mysql-workbench*
cd mysql-workbench*
mkdir -p ~/bin/mysql-workbench/
./autogen.sh --prefix=${HOME}/bin/mysql-workbench/

4/ Installation

make
sudo make install

5/Lancement

${HOME}/bin/mysql-workbench/bin/mysql-workbench
Et voila 😉