"CentOS yum으로 파일이 속한 패키지 확인"의 두 판 사이의 차이

잔글 (봇: 자동으로 텍스트 교체 (-source +syntaxhighlight))
 
(같은 사용자의 중간 판 3개는 보이지 않습니다)
4번째 줄: 4번째 줄:
;yum provides
;yum provides


<source lang='bash'>
<syntaxhighlight lang='bash'>
  yum provides 파일
  yum provides 파일
</source>
</syntaxhighlight>


==실행예시==
==실행예시==
;CentOS 5
;CentOS 5
<source lang='cli'>
<syntaxhighlight lang='console'>
[root@zetawiki ~]# yum provides /bin/mailx
[root@zetawiki ~]# yum provides /bin/mailx
Loaded plugins: fastestmirror, priorities
Loaded plugins: fastestmirror, priorities
18번째 줄: 18번째 줄:
Matched from:
Matched from:
Filename    : /bin/mailx
Filename    : /bin/mailx
</source>
</syntaxhighlight>
:→ redhat-lsb-4.0-2.1.4.el5.x86_64 패키지에 포함되어 있음
:→ redhat-lsb-4.0-2.1.4.el5.x86_64 패키지에 포함되어 있음


;CentOS 7
;CentOS 7
<source lang='cli'>
<syntaxhighlight lang='console'>
[root@zetawiki ~]# yum provides /bin/mailx
[root@zetawiki ~]# yum provides /bin/mailx
Loaded plugins: fastestmirror
Loaded plugins: fastestmirror
33번째 줄: 33번째 줄:
Matched from:
Matched from:
Filename    : /bin/mailx
Filename    : /bin/mailx
</source>
</syntaxhighlight>


==같이 보기==
==같이 보기==

2020년 11월 2일 (월) 00:55 기준 최신판

1 개요[ | ]

yum으로 파일이 속한 패키지 찾기
yum provides
 yum provides 파일

2 실행예시[ | ]

CentOS 5
[root@zetawiki ~]# yum provides /bin/mailx
Loaded plugins: fastestmirror, priorities
Loading mirror speeds from cached hostfile
redhat-lsb-4.0-2.1.4.el5.x86_64 : LSB base libraries support for CentOS Enterprise Linux
Repo        : base
Matched from:
Filename    : /bin/mailx
→ redhat-lsb-4.0-2.1.4.el5.x86_64 패키지에 포함되어 있음
CentOS 7
[root@zetawiki ~]# yum provides /bin/mailx
Loaded plugins: fastestmirror
Loading mirror speeds from cached hostfile
 * base: mirror.oasis.onnetcorp.com
 * extras: mirror.oasis.onnetcorp.com
 * updates: mirror.oasis.onnetcorp.com
mailx-12.5-11.el7.x86_64 : Enhanced implementation of the mailx command
Repo        : base
Matched from:
Filename    : /bin/mailx

3 같이 보기[ | ]

문서 댓글 ({{ doc_comments.length }})
{{ comment.name }} {{ comment.created | snstime }}