How do I install dig (the DNS lookup tool)? I can't figure out what the package name is.
3 Answers
You can install it by opening a terminal and typing
sudo apt-get install dnsutilsOr 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 digAnd then verified with aptitude.
sudo apt-get install dnsutilsTo find out which package a file is in you can do
sudo apt-cache search digSometimes 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:
1Another command:
apt-file search /usr/bin/digYou should install apt-file and update it beforehand:
sudo apt-get install apt-file
sudo apt-file update