yum

软件包安装找不到?

查找软件是由哪个软件包提供的

例子,安装pstree可以先搜下,可以看到由psmisc提供

[root@master docker]# yum provides pstree
已加载插件:fastestmirror
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:21     
epel/x86_64/filelists_db                                                                              |  12 MB  00:00:34     
extras/7/x86_64/filelists_db                                                                          | 277 kB  00:00:00     
kubernetes/filelists                                                                                  |  37 kB  00:00:00     
updates/7/x86_64/filelists_db                                                                         | 9.1 MB  00:00:25     
zabbix/x86_64/filelists_db                                                                            |  59 kB  00:00:01     
zabbix-frontend/x86_64/filelists_db                                                                   | 108 kB  00:00:02     
zabbix-non-supported/x86_64/filelists_db                                                              | 1.7 kB  00:00:00     
psmisc-22.20-17.el7.x86_64 : Utilities for managing processes on your system
源    :base
匹配来源:
文件名    :/usr/bin/pstree

yum install -y psmisc

posted @ 2022-07-07 00:27  多次拒绝黄宗泽  阅读(9)  评论(0编辑  收藏  举报