INSTALL MYSQL-WORKBENCH ON UBUNTU
Steps are simple:
1 | wget ftp :// ftp .gwdg.de/pub/misc/mysql/Downloads/MySQLGUITools/mysql-workbench-oss-5.2.11. tar .gz |
2 | tar -xzf mysql-workbench-oss-5.2.11. tar .gz |
3 | cd mysql-workbench-oss-5.2.11 |
4 | 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.40-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 |
5 | ./autogen.sh --prefix=/path/where/you/want/to/ install /it |
8 | /path/where/you/did/ install /it/bin/mysql-workbench |
For those guys who already tried it and got errors for
missing packages, a python-error for missing import or a seg-faults,
here my list of errors and the packages/action required to
install/run:
No package 'libzip' found
01 | checking for ZIP... configure: error: Package requirements (libzip) were not met: |
03 | No package 'libzip' found |
05 | Consider adjusting the PKG_CONFIG_PATH environment variable if you |
06 | installed software in a non-standard prefix. |
08 | Alternatively, you may set the environment variables ZIP_CFLAGS |
09 | and ZIP_LIBS to avoid the need to call pkg-config. |
10 | See the pkg-config man page for more details. |
libzip dev package is missing install it via apt-get:
1 | apt-get install libzip-dev libzip1 |
No package 'libxml-2.0' found
01 | checking for GLIB... configure: error: Package requirements (glib-2.0 gthread-2.0 gmodule-2.0 libxml-2.0 >= 2.6.2) were not met: |
03 | No package 'libxml-2.0' found |
05 | Consider adjusting the PKG_CONFIG_PATH environment variable if you |
06 | installed software in a non-standard prefix. |
08 | Alternatively, you may set the environment variables GLIB_CFLAGS |
09 | and GLIB_LIBS to avoid the need to call pkg-config. |
10 | See the pkg-config man page for more details. |
libxml dev package is missing install it via apt-get:
1 | apt-get install libxml2-dev |
No package 'sigc++-2.0' found
01 | checking for SIGC... configure: error: Package requirements (sigc++-2.0) were not met: |
03 | No package 'sigc++-2.0' found |
05 | Consider adjusting the PKG_CONFIG_PATH environment variable if you |
06 | installed software in a non-standard prefix. |
08 | Alternatively, you may set the environment variables SIGC_CFLAGS |
09 | and SIGC_LIBS to avoid the need to call pkg-config. |
10 | See the pkg-config man page for more details. |
sigc++2.0 dev package is missing install it via apt-get:
1 | apt-get install libsigc++-2.0-dev |
No package 'libglade-2.0' found / No package 'gtkmm-2.4' found/h3>
01 | checking for GNOME... configure: error: Package requirements (libglade-2.0 gtkmm-2.4) were not met: |
03 | No package 'libglade-2.0' found |
04 | No package 'gtkmm-2.4' found |
06 | Consider adjusting the PKG_CONFIG_PATH environment variable if you |
07 | installed software in a non-standard prefix. |
09 | Alternatively, you may set the environment variables GNOME_CFLAGS |
10 | and GNOME_LIBS to avoid the need to call pkg-config. |
11 | See the pkg-config man page for more details. |
libglade2 dev and libgtkmm 2 dev packages are missing install them via apt-get:
1 | apt-get install 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 |
No package 'libgnome-2.0' found
01 | checking for LIBGNOME... configure: error: Package requirements (libgnome-2.0) were not met: |
03 | No package 'libgnome-2.0' found |
05 | Consider adjusting the PKG_CONFIG_PATH environment variable if you |
06 | installed software in a non-standard prefix. |
08 | Alternatively, you may set the environment variables LIBGNOME_CFLAGS |
09 | and LIBGNOME_LIBS to avoid the need to call pkg-config. |
10 | See the pkg-config man page for more details. |
libgnome dev package is missing install it via apt-get:
1 | apt-get install libgnome2-dev |
No package 'sqlite3' found
01 | checking for SQLITE3... configure: error: Package requirements (sqlite3) were not met: |
03 | No package 'sqlite3' found |
05 | Consider adjusting the PKG_CONFIG_PATH environment variable if you |
06 | installed software in a non-standard prefix. |
08 | Alternatively, you may set the environment variables SQLITE3_CFLAGS |
09 | and SQLITE3_LIBS to avoid the need to call pkg-config. |
10 | See the pkg-config man page for more details. |
libsql3 dev package is missing install it via apt-get:
1 | apt-get install libsqlite3-dev |
configure: error: "BOOST library is missing"
1 | checking for boost/foreach.hpp... no |
2 | configure: error: "BOOST library is missing" |
libboost dev package is missing install it via apt-get:
1 | apt-get install libboost1.40-dev |
configure: error: Could not find mysql_config script. Make sure the mysql client libraries are installed
1 | checking for mysql headers and libraries... ./configure: line 16478: mysql_config: command not found |
2 | ./configure: line 16479: mysql_config: command not found |
3 | configure: error: Could not find mysql_config script. Make sure the mysql client libraries are installed |
libmysqlclient and libmysqld dev packages are missing install them apt-get:
1 | apt-get install libmysqlclient-dev libmysqld-dev |
No package 'uuid' found
01 | checking for UUID... configure: error: Package requirements (uuid) were not met: |
03 | No package 'uuid' found |
05 | Consider adjusting the PKG_CONFIG_PATH environment variable if you |
06 | installed software in a non-standard prefix. |
08 | Alternatively, you may set the environment variables UUID_CFLAGS |
09 | and UUID_LIBS to avoid the need to call pkg-config. |
10 | See the pkg-config man page for more details. |
uuid dev package is missing install it via apt-get:
1 | apt-get install uuid-dev |
No package 'lua' found
01 | checking for LUA... configure: error: Package requirements (lua >= 5.1) were not met: |
05 | Consider adjusting the PKG_CONFIG_PATH environment variable if you |
06 | installed software in a non-standard prefix. |
08 | Alternatively, you may set the environment variables LUA_CFLAGS |
09 | and LUA_LIBS to avoid the need to call pkg-config. |
10 | See the pkg-config man page for more details. |
liblua5.1 dev package is missing install it via apt-get:
1 | apt-get install liblua5.1-0-dev libncurses5-dev libreadline-dev libreadline6-dev |
configure: error: OpenGL headers not found
1 | checking for GL/gl.h... no |
2 | configure: error: OpenGL headers not found |
opengl dev packages are missing install them via apt-get:
1 | apt-get install liblua5.1-0-dev libncurses5-dev libreadline-dev libreadline6-dev |
configure: error: Could not find pcre-config script. Make sure the pcre libraries are installed
1 | checking for pcre-config... no |
2 | configure: error: Could not find pcre-config script. Make sure the pcre libraries are installed |
libprce dev and libpcrecpp package are missing install them via apt-get:
1 | apt-get install libpcre3-dev libpcrecpp0 |
ImportError: No module named paramiko
1 | Traceback (most recent call last): |
2 | File "/opt/wb/share/mysql-workbench/sshtunnel.py" , line 10, in
|
4 | ImportError: No module named paramiko |
5 | terminate called after throwing an instance of 'std::runtime_error' |
6 | what(): Error starting tunnel manager: |