2016년 7월 29일 금요일

Search YUM package name

Sometimes, I can't know package name of YUM.
For example, Assume there is no ifconfig command on CentOS.

   # ifconfig
    command not found

Then, run yum command like this...

   # yum provides  ifconfig
    ....
    ....
   net-tools-2.0-0.17.20131004git.el7.x86_64 : Basic networking tools
   Repo        : base
   Matched from:
   Filename    : /sbin/ifconfig

And then, run yum command like this...

   # yum install net-tools  


댓글 없음:

댓글 쓰기