如何查找命令属于哪个安装包
程序员文章站
2022-10-04 10:30:19
yum whatprovides 命令名例如[root@localhost jenkins]# yum whatprovides semanageLoaded plugins: fastestmirrorLoading mirror speeds from cached hostfileepel/x86_64/metalink...
yum whatprovides 命令名
例如
[root@localhost jenkins]# yum whatprovides semanage
Loaded plugins: fastestmirror
Loading mirror speeds from cached hostfile
epel/x86_64/metalink | 7.6 kB 00:00:00
* base: ftp.sjtu.edu.cn
* epel: ftp.iij.ad.jp
* extras: ftp.sjtu.edu.cn
* updates: ftp.sjtu.edu.cn
base | 3.6 kB 00:00:00
epel | 4.7 kB 00:00:00
extras | 2.9 kB 00:00:00
updates | 2.9 kB 00:00:00
(1/5): extras/7/x86_64/primary_db | 205 kB 00:00:01
(2/5): epel/x86_64/group_gz | 95 kB 00:00:01
(3/5): updates/7/x86_64/primary_db | 3.0 MB 00:00:08
(4/5): epel/x86_64/updateinfo | 1.0 MB 00:00:21
(5/5): epel/x86_64/primary_db | 6.8 MB 00:00:57
epel/x86_64/filelists_db | 12 MB 00:00:15
extras/7/x86_64/filelists_db | 217 kB 00:00:00
updates/7/x86_64/filelists_db | 1.7 MB 00:00:01
policycoreutils-python-2.5-34.el7.x86_64 : SELinux policy core python utilities
Repo : base
Matched from:
Filename : /usr/sbin/semanage
如图安装policycoreutils-python-2.5-34.el7.x86_64 就可以用semanage命令了!
--------------------当你发现自己突然嫉妒起其他人时,就请安静下来学习吧!--------------------
本文地址:https://blog.csdn.net/ht9999i/article/details/107325631