Eric Johnson Asked: 2011-02-07 16:31:25 +0800 CST2011-02-07 16:31:25 +0800 CST 2011-02-07 16:31:25 +0800 CST How do I install dig? 772 How do I install dig (the DNS lookup tool)? I can't figure out what the package name is. networking 3 Answers Voted Oli 2011-02-07T16:40:59+08:002011-02-07T16:40:59+08:00 You can install it by opening a terminal and typing sudo apt-get install dnsutils Or via the Ubuntu Software Center by clicking bellow: For future reference, I found this out by doing a quick search with apt-cache: apt-cache search dns dig And then verified with aptitude. Best Answer Eric Johnson 2011-02-07T16:37:39+08:002011-02-07T16:37:39+08:00 sudo apt-get install dnsutils To find out which package a file is in you can do sudo apt-cache search dig Sometimes that works, but in this case it was useless. You can search for which package a specific file is in using the 'Search the contents of packages' search form here: http://packages.ubuntu.com/ Tsutomu 2013-06-09T07:05:02+08:002013-06-09T07:05:02+08:00 Another command: apt-file search /usr/bin/dig You should install apt-file and update it beforehand: sudo apt-get install apt-file sudo apt-file update
You can install it by opening a terminal and typing
Or via the Ubuntu Software Center by clicking bellow:
For future reference, I found this out by doing a quick search with apt-cache:
And then verified with
aptitude
.To find out which package a file is in you can do
Sometimes that works, but in this case it was useless. You can search for which package a specific file is in using the 'Search the contents of packages' search form here:
http://packages.ubuntu.com/
Another command:
You should install
apt-file
and update it beforehand: