我该如何安装dig?
我该如何安装dig? 我无法弄清楚包名是什么。
您可以通过打开终端并键入来安装它
sudo apt-get install dnsutils
或者通过点击下面的Ubuntu软件中心 :
为了将来参考,我通过使用apt-cache进行快速搜索找到了这个:
apt-cache search dns dig
然后用aptitude
validation。
sudo apt-get install dnsutils
要找出文件所在的包,您可以执行此操作
sudo apt-cache search dig
有时它可行,但在这种情况下,它是无用的。 您可以在此处使用“搜索包的内容”搜索表单搜索特定文件所在的包:
另一个命令:
apt-file search /usr/bin/dig
你应该安装apt-file
并事先更新它:
sudo apt-get install apt-file sudo apt-file update