yum 用法

2017年5月8日 0 条评论 379 次阅读 0 人点赞
# 查找命令所属软件包
[root@bogon msls31]# yum whatprovides yum-config-manager
Loaded plugins: fastestmirror, refresh-packagekit
Loading mirror speeds from cached hostfile
 * base: mirrors.hust.edu.cn
 * epel: mirror01.idc.hinet.net
 * extras: mirrors.njupt.edu.cn
 * updates: mirrors.njupt.edu.cn
Warning: 3.0.x versions of yum would erroneously match against filenames.
 You can use "*/yum-config-manager" and/or "*bin/yum-config-manager" to get that behaviour
No Matches found
[root@bogon msls31]# yum whatprovides */yum-config-manager
Loaded plugins: fastestmirror, refresh-packagekit
Loading mirror speeds from cached hostfile
 * base: mirrors.hust.edu.cn
 * epel: mirror01.idc.hinet.net
 * extras: mirrors.njupt.edu.cn
 * updates: mirrors.njupt.edu.cn
base/filelists_db                                                                                               | 6.4 MB     00:07     
epel/filelists_db                                                                                               | 7.7 MB     00:01     
extras/filelists_db                                                                                             |  38 kB     00:00     
updates/filelists_db                                                                                            | 644 kB     00:00     
yum-utils-1.1.30-40.el6.noarch : Utilities based around the yum package manager
Repo        : base
Matched from:
Filename    : /usr/bin/yum-config-manager

Sevenfal

这个人太懒什么东西都没留下

文章评论(0)