linux查看命令属于哪个安装包

xiaoxiao2021-02-28  73

linux查看命令属于哪个安装包

==>

yum whatprovides  /usr/bin/c++

比如:

[root@linuxice ~]# yum whatprovides  /usr/bin/c++ Loaded plugins: fastestmirror, refresh-packagekit, security Loading mirror speeds from cached hostfile  * base: mirrors.cn99.com  * extras: mirrors.zju.edu.cn  * updates: mirrors.zju.edu.cn gcc-c++-4.4.7-18.el6.x86_64 : C++ support for GCC Repo        : base Matched from: Filename    : /usr/bin/c++ gcc-c++-4.4.7-18.el6.x86_64 : C++ support for GCC Repo        : installed Matched from: Other       : Provides-match: /usr/bin/c++

转载请注明原文地址: https://www.6miu.com/read-76010.html

最新回复(0)