Installing dig on Debian

74

9

I've tried installing dig on Debian, but the apt-get utility doesn't seem to know what it is.

Is it part of some larger set of packages? Where can I find this?

KdgDev

Posted 2010-05-15T23:08:55.560

Reputation: 4 708

Alternatively, you could use the Debian Package Website: https://www.debian.org/distrib/packages#search_contents

– schnellschnell – 2019-01-24T09:21:13.983

Answers

119

On Ubuntu it's in dnsutils. It's the same in Debian.

Install it with:

apt-get install -y dnsutils

apt-file lets you search for files in packages even if they aren't installed.

Florian Diesch

Posted 2010-05-15T23:08:55.560

Reputation: 3 380

for info : apt-file -x find .*/dig$ because I tried apt-file find dig but got thousands of res. Then I tried harder when I saw your comment ^^ – Boop – 2018-10-14T20:08:57.870