未找到 whois 命令?

未找到 whois 命令?

使用kali Linux 2016.01

pip install whois
Requirement already satisfied

apt-get update
apt-get install whois
Package 'whois' has no installation candidate

在终端上输入whois google.com说找不到命令。有什么解决办法吗?

答案1

我最近安装了 Kali Linux 2016.1 并进行了更新。 whois 命令工作正常。

root@Kali:~# cat /etc/issue
Kali GNU/Linux Rolling \n \l

root@Kali:~# dpkg -l whois

 ||/ Name                  Version         Architecture    Description
 +++-=====================-===============-===============-================================================
 ii  whois                 5.2.12          amd64           intelligent WHOIS client

 root@Kali:~# whois www.google.com

Whois Server Version 2.0

Domain names in the .com and .net domains can now be registered
with many different competing registrars. Go to http://www.internic.net
for detailed information.

Server Name: WWW.GOOGLE.COM.AR
Registrar: ENOM, INC.
Whois Server: whois.enom.com
Referral URL: http://www.enom.com

您可以尝试手动安装:

root@Kali:~# apt  install  whois
Reading package lists... Done
Building dependency tree       
Reading state information... Done
whois is already the newest version (5.2.12).


root@Kali:~# apt-cache policy whois
whois:
  Installed: 5.2.12
  Candidate: 5.2.12
  Version table:
 *** 5.2.12 500
    500 http://http.kali.org/kali kali-rolling/main amd64 Packages
    100 /var/lib/dpkg/status

相关内容