yum 命令

利用 yum 查找某个命令属于哪个软件包

[root@localhost ~]# yum provides pstree
Loaded plugins: fastestmirror
Repository epel is listed more than once in the configuration
Repository epel-debuginfo is listed more than once in the configuration
Repository epel-source is listed more than once in the configuration
Loading mirror speeds from cached hostfile
 * base: mirrors.aliyun.com
 * extras: mirrors.aliyun.com
 * updates: mirrors.aliyun.com
base/7/x86_64/filelists_db                                                                                                                                    | 7.2 MB  00:00:00     
epel/x86_64/filelists_db                                                                                                                                      |  12 MB  00:00:00     
extras/7/x86_64/filelists_db                                                                                                                                  | 259 kB  00:00:00     
updates/7/x86_64/filelists_db                                                                                                                                 | 7.4 MB  00:00:00     
psmisc-22.20-17.el7.x86_64 : Utilities for managing processes on your system
Repo        : base
Matched from:
Filename    : /usr/bin/pstree



psmisc-22.20-17.el7.x86_64 : Utilities for managing processes on your system
Repo        : @base
Matched from:
Filename    : /usr/bin/pstree

posted @ 2022-01-22 20:59  咚咚小孩  阅读(42)  评论(0)    收藏  举报