How to install dig on CentOS?
Clash Royale CLAN TAG#URR8PPP
up vote
76
down vote
favorite
I can't find the dig command on my new CentOS installation. I've tried yum install dig
but it say it cannot find the package.
How do I install dig on CentOS?
yum centos
add a comment |Â
up vote
76
down vote
favorite
I can't find the dig command on my new CentOS installation. I've tried yum install dig
but it say it cannot find the package.
How do I install dig on CentOS?
yum centos
add a comment |Â
up vote
76
down vote
favorite
up vote
76
down vote
favorite
I can't find the dig command on my new CentOS installation. I've tried yum install dig
but it say it cannot find the package.
How do I install dig on CentOS?
yum centos
I can't find the dig command on my new CentOS installation. I've tried yum install dig
but it say it cannot find the package.
How do I install dig on CentOS?
yum centos
yum centos
edited 9 mins ago
asked Mar 27 '14 at 23:50
Mikael Dúi Bolinder
2,15731215
2,15731215
add a comment |Â
add a comment |Â
2 Answers
2
active
oldest
votes
up vote
107
down vote
accepted
The dig command is a part of the BIND utilities so you need to install them. To install the BIND utilities, type the following:
$ yum install bind-utils
1
thank you, this works in CentOS 7 as well..
â Santosh Kumar A
yesterday
add a comment |Â
up vote
48
down vote
You have already provided the specific answer, but if you are looking for other executables or files to see what package they are installed with, utilize yum whatprovides *relative/path/to/file*
, for example:
$ 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
...
From 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.
add a comment |Â
2 Answers
2
active
oldest
votes
2 Answers
2
active
oldest
votes
active
oldest
votes
active
oldest
votes
up vote
107
down vote
accepted
The dig command is a part of the BIND utilities so you need to install them. To install the BIND utilities, type the following:
$ yum install bind-utils
1
thank you, this works in CentOS 7 as well..
â Santosh Kumar A
yesterday
add a comment |Â
up vote
107
down vote
accepted
The dig command is a part of the BIND utilities so you need to install them. To install the BIND utilities, type the following:
$ yum install bind-utils
1
thank you, this works in CentOS 7 as well..
â Santosh Kumar A
yesterday
add a comment |Â
up vote
107
down vote
accepted
up vote
107
down vote
accepted
The dig command is a part of the BIND utilities so you need to install them. To install the BIND utilities, type the following:
$ yum install bind-utils
The dig command is a part of the BIND utilities so you need to install them. To install the BIND utilities, type the following:
$ yum install bind-utils
edited Sep 28 '14 at 1:54
answered Mar 27 '14 at 23:50
Mikael Dúi Bolinder
2,15731215
2,15731215
1
thank you, this works in CentOS 7 as well..
â Santosh Kumar A
yesterday
add a comment |Â
1
thank you, this works in CentOS 7 as well..
â Santosh Kumar A
yesterday
1
1
thank you, this works in CentOS 7 as well..
â Santosh Kumar A
yesterday
thank you, this works in CentOS 7 as well..
â Santosh Kumar A
yesterday
add a comment |Â
up vote
48
down vote
You have already provided the specific answer, but if you are looking for other executables or files to see what package they are installed with, utilize yum whatprovides *relative/path/to/file*
, for example:
$ 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
...
From 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.
add a comment |Â
up vote
48
down vote
You have already provided the specific answer, but if you are looking for other executables or files to see what package they are installed with, utilize yum whatprovides *relative/path/to/file*
, for example:
$ 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
...
From 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.
add a comment |Â
up vote
48
down vote
up vote
48
down vote
You have already provided the specific answer, but if you are looking for other executables or files to see what package they are installed with, utilize yum whatprovides *relative/path/to/file*
, for example:
$ 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
...
From 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.
You have already provided the specific answer, but if you are looking for other executables or files to see what package they are installed with, utilize yum whatprovides *relative/path/to/file*
, for example:
$ 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
...
From 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.
edited Aug 2 '17 at 5:27
Noam M
4281415
4281415
answered Mar 28 '14 at 2:23
Tony Cesaro
61646
61646
add a comment |Â
add a comment |Â
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2funix.stackexchange.com%2fquestions%2f121874%2fhow-to-install-dig-on-centos%23new-answer', 'question_page');
);
Post as a guest
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password