rhel5 安装mysql-gui-tools的方式

2693阅读 0评论2009-02-02 kns1024wh
分类:Mysql/postgreSQL

http://dev.mysql.com/downloads/gui-tools/5.0.html站点下载Generic x86/64 Linux TAR (bundled dependencies)这个版本(64位的os)或者下载Generic x86 Linux TAR (bundled dependencies)对应的32位版本。 解压 tar -xvf mysql-gui-tools-5.0r12-linux-x86_64.tar.gz 进入到mysql-gui-tools-5.0目录中,执行如下操作

#./mysql-query-browser-bin ./mysql-query-browser-bin: error while loading shared libraries: libgtkmm-2.4.so.1: cannot open shared object file: No such file or directory 根据提示通过yum 安装gtkmm的软件包

[root@ ]# yum list gtkmm*

Loading "rhnplugin" plugin

Loading "security" plugin

This system is not registered with RHN.

RHN support will be disabled.

rpmforge                  100% |=== ======| 1.1 kB    00:00

primary.xml.gz            100% |== =========| 2.9 MB    01:45

rpmforge  : ################## ##### 8061/8061

ISO                       100% |== ========|  951 B    00:00

primary.xml.gz            100% |=== ======| 1.0 MB    00:00

ISO       : ######## ########### 3044/3044

Available Packages

gtkmm2.x86_64                            2.2.12-1.el5.rf        rpmforge

gtkmm2-devel.x86_64                      2.2.12-1.el5.rf        rpmforge

gtkmm24.x86_64                           2.10.9-1.el5.rf        rpmforge

gtkmm24-devel.x86_64                     2.10.9-1.el5.rf        rpmforge

 

[root@ ]# yum -y install gtkmm*

Loading "rhnplugin" plugin

Loading "security" plugin

This system is not registered with RHN.

RHN support will be disabled.

Setting up Install Process

Parsing package install arguments

Resolving Dependencies

--> Running transaction check

---> Package gtkmm24-devel.x86_64 0:2.10.9-1.el5.rf set to be updated

--> Processing Dependency: glibmm24-devel for package: gtkmm24-devel

--> Processing Dependency: cairomm-devel for package: gtkmm24-devel

---> Package gtkmm24.x86_64 0:2.10.9-1.el5.rf set to be updated

--> Processing Dependency: libsigc-2.0.so.0()(64bit) for package: gtkmm24

--> Processing Dependency: libcairomm-1.0.so.1()(64bit) for package: gtkmm24

--> Processing Dependency: libglibmm-2.4.so.1()(64bit) for package: gtkmm24

---> Package gtkmm2-devel.x86_64 0:2.2.12-1.el5.rf set to be updated

--> Processing Dependency: libsigc++-devel >= 1.2.0 for package: gtkmm2-devel

---> Package gtkmm2.x86_64 0:2.2.12-1.el5.rf set to be updated

--> Processing Dependency: libsigc++ >= 1.2.0 for package: gtkmm2

--> Processing Dependency: libsigc-1.2.so.5()(64bit) for package: gtkmm2

--> Running transaction check

---> Package libsigc++.x86_64 0:1.2.5-4.el5.rf set to be updated

---> Package glibmm24.x86_64 0:2.12.8-1.el5.rf set to be updated

---> Package glibmm24-devel.x86_64 0:2.12.8-1.el5.rf set to be updated

--> Processing Dependency: libsigc++20-devel for package: glibmm24-devel

---> Package libsigc++20.x86_64 0:2.0.17-1.el5.rf set to be updated

---> Package cairomm-devel.x86_64 0:1.2.4-2.1.el5.rf set to be updated

---> Package libsigc++-devel.x86_64 0:1.2.5-4.el5.rf set to be updated

---> Package cairomm.x86_64 0:1.2.4-2.1.el5.rf set to be updated

--> Running transaction check

---> Package libsigc++20-devel.x86_64 0:2.0.17-1.el5.rf set to be updated

--> Finished Dependency Resolution

 

Dependencies Resolved

 

============================

 Package                 Arch       Version          Repository        Size

===============

Installing:

 gtkmm24-devel           x86_64     2.10.9-1.el5.rf  rpmforge          8.0 M

Installing for dependencies:

 cairomm                 x86_64     1.2.4-2.1.el5.rf  rpmforge          180 k

 cairomm-devel           x86_64     1.2.4-2.1.el5.rf  rpmforge          258 k

 glibmm24                x86_64     2.12.8-1.el5.rf  rpmforge          831 k

 glibmm24-devel          x86_64     2.12.8-1.el5.rf  rpmforge          872 k

 gtkmm2                  x86_64     2.2.12-1.el5.rf  rpmforge          5.4 M

 gtkmm2-devel            x86_64     2.2.12-1.el5.rf  rpmforge          5.0 M

 gtkmm24                 x86_64     2.10.9-1.el5.rf  rpmforge          7.1 M

 libsigc++               x86_64     1.2.5-4.el5.rf   rpmforge           52 k

 libsigc++-devel         x86_64     1.2.5-4.el5.rf   rpmforge           70 k

 libsigc++20             x86_64     2.0.17-1.el5.rf  rpmforge          1.8 M

 libsigc++20-devel       x86_64     2.0.17-1.el5.rf  rpmforge          127 k

 

Transaction Summary

=========

Install     12 Package(s)

Update       0 Package(s)

Remove       0 Package(s)

 

Total download size: 30 M

Downloading Packages:

(1/12): gtkmm2-devel-2.2. 100% |== =======| 5.0 MB    01:31

(2/12): cairomm-1.2.4-2.1 100% |=== ==========| 180 kB    00:04

(3/12): libsigc++-devel-1 100% |===== =========|  70 kB    00:02

(4/12): gtkmm24-devel-2.1 100% |===== ==========| 8.0 MB    03:27

(5/12): cairomm-devel-1.2 100% |=== =========| 258 kB    00:10

(6/12): gtkmm2-2.2.12-1.e 100% |== =======| 5.4 MB    02:27

(7/12): libsigc++20-devel 100% |==== ======| 127 kB    00:01

(8/12): gtkmm24-2.10.9-1. 100% |=== ========| 7.1 MB    03:03

(9/12): libsigc++20-2.0.1 100% |===== ========| 1.8 MB    00:55

(10/12): glibmm24-devel-2 100% |== ========| 872 kB    00:21

(11/12): glibmm24-2.12.8- 100% |==== =========| 831 kB    00:29

(12/12): libsigc++-1.2.5- 100% |==== =======|  52 kB    00:02

Running rpm_check_debug

Running Transaction Test

Finished Transaction Test

Transaction Test Succeeded

Running Transaction

  Installing: libsigc++20                  ### ###### [ 1/12]

  Installing: glibmm24                     # ####### [ 2/12]

  Installing: cairomm                      ## ###### [ 3/12]

  Installing: libsigc++                    # ####### [ 4/12]

  Installing: gtkmm2                       # ######### [ 5/12]

  Installing: gtkmm24                      ### #### [ 6/12]

  Installing: libsigc++-devel              # #### [ 7/12]

  Installing: gtkmm2-devel                 ### #### [ 8/12]

  Installing: cairomm-devel                ## ##### [ 9/12]

  Installing: libsigc++20-devel            #### #### [10/12]

  Installing: glibmm24-devel               ## #### [11/12]

  Installing: gtkmm24-devel                ## ##### [12/12]

 

Installed: gtkmm24-devel.x86_64 0:2.10.9-1.el5.rf

Dependency Installed: cairomm.x86_64 0:1.2.4-2.1.el5.rf cairomm-devel.x86_64 0:1.2.4-2.1.el5.rf glibmm24.x86_64 0:2.12.8-1.el5.rf glibmm24-devel.x86_64 0:2.12.8-1.el5.rf gtkmm2.x86_64 0:2.2.12-1.el5.rf gtkmm2-devel.x86_64 0:2.2.12-1.el5.rf gtkmm24.x86_64 0:2.10.9-1.el5.rf libsigc++.x86_64 0:1.2.5-4.el5.rf libsigc++-devel.x86_64 0:1.2.5-4.el5.rf libsigc++20.x86_64 0:2.0.17-1.el5.rf libsigc++20-devel.x86_64 0:2.0.17-1.el5.rf

Complete!

然后在gnome环境下执行MySQLQueryBrowser.desktop启动MySQLQueryBrowserGUI的查询工具;执行MySQLAdministrator.desktop启动MySQLAdministratorGUI的管理工具。

上一篇:Debian etch 系统下本地源的安装方法
下一篇:TCSH shell变量和特征配置