
dig
새 CentOS 설치에서 명령을 찾을 수 없습니다 . 시도해 보았 dnf install dig
으나 패키지를 찾을 수 없다고 나옵니다.
CentOS에 dig를 어떻게 설치하나요?
답변1
그만큼파기도구는 다음의 일부입니다.묶다유틸리티이므로 설치해야 합니다. BIND 유틸리티를 설치하려면 다음을 입력하십시오.
$ dnf install bind-utils
답변2
이미 특정 답변을 제공했지만, 어떤 패키지와 함께 설치되었는지 확인하기 위해 다른 실행 파일이나 파일을 찾고 있는 경우 yum whatprovides *relative/path/to/file*
다음과 같이 활용하세요.
$ yum whatprovides '*bin/dig'
32:bind-utils-9.8.2-0.17.rc1.el6_4.6.x86_64 : Utilities for querying DNS name servers
Repo : base
Matched from:
Filename : /usr/bin/dig
...
에서 man yum
:
provides or whatprovides
Is used to find out which package provides some feature or file. Just
use a specific name or a file-glob-syntax wildcards to list the pack-
ages available or installed that provide that feature or file.
답변3
레거시 시스템에서는 대신 다음을 사용해야 합니다 yum
.
$ yum install bind-utils