码迷,mamicode.com
首页 > 其他好文 > 详细

yum命令总结

时间:2015-04-25 12:04:46      阅读:159      评论:0      收藏:0      [点我收藏+]

标签:

1.查看是否安装某软件:yum list installed mysql*

tingshuai.yts@OceanBase036188 APP$ yum list installed mysql*
Loaded plugins: branch, security
Installed Packages
mysql.x86_64                                      5.1.52-1.el6_0.1                               @redhat.6u2.base.x86_64
mysql-devel.x86_64                                5.1.52-1.el6_0.1                               @redhat.6u2.base.x86_64
mysql-libs.x86_64                                 5.1.52-1.el6_0.1                               @redhat.6u2.base.x86_64
mysql-server.x86_64                               5.1.52-1.el6_0.1                               @redhat.6u2.base.x86_64

2.查看安装包:yum list mysql*

tingshuai.yts@OceanBase036188 APP$ yum list mysql*
Loaded plugins: branch, security
Installed Packages
mysql.x86_64                                         5.1.52-1.el6_0.1                            @redhat.6u2.base.x86_64
mysql-devel.x86_64                                   5.1.52-1.el6_0.1                            @redhat.6u2.base.x86_64
mysql-libs.x86_64                                    5.1.52-1.el6_0.1                            @redhat.6u2.base.x86_64
mysql-server.x86_64                                  5.1.52-1.el6_0.1                            @redhat.6u2.base.x86_64
Available Packages
MySQL-python.x86_64                                  1.2.3-0.3.c1.1.el6                          redhat.6u2.base.x86_64 
mysql++.x86_64                                       3.2.0-1.el6                                 alibase.6Server.x86_64 
mysql++-debuginfo.x86_64                             3.2.0-1.el6                                 alibase.6Server.x86_64 
mysql++-devel.x86_64                                 3.2.0-1.el6                                 alibase.6Server.x86_64 
mysql++-manuals.x86_64                               3.2.0-1.el6                                 alibase.6Server.x86_64 
mysql-bench.x86_64                                   5.1.52-1.el6_0.1                            redhat.6u2.base.x86_64 
mysql-connector-java.x86_64                          1:5.1.12-2.el6                              redhat.6u2.base.x86_64 
mysql-connector-odbc.x86_64                          5.1.5r1144-7.el6                            redhat.6u2.base.x86_64 
mysql-devel.i686                                     5.1.52-1.el6_0.1                            redhat.6u2.base.x86_64 
mysql-libs.i686                                      5.1.52-1.el6_0.1                            redhat.6u2.base.x86_64 
mysql-test.x86_64                                    5.1.52-1.el6_0.1                            redhat.6u2.base.x86_64 

 

yum命令总结

标签:

原文地址:http://www.cnblogs.com/yts1dx/p/4455614.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!