Report this

What is the reason for this report?

How do I install whois command on kali linux?

Posted on August 7, 2016

it says: Unknown command: whois

and if i try to install it (apt-get install whois) it says: E: Package ‘whois’ has no installation candidate. this may mean that tha package is missing, has been obsoleted, or is only available from another source.



This textbox defaults to using Markdown to format your answer.

You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!

These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.

Please output the repository list of your machine;

/etc/apt/sources.list

Make sure it has the following inside;

deb http://http.kali.org/kali kali-rolling main contrib non-free

Then clean your apt-get

apt-get clean

Make an update

apt-get update

And upgrade

apt-get upgrade

And finally make a dist upgrade

apt-get dist-upgrade

Then try again to install once more, hope it helps

To install the whois command on Kali Linux, you can use the APT package manager. Here are the steps to do so:

  1. Update the Package List: It’s always a good practice to update the package list before installing any new package. Open a terminal and run the following command:
sudo apt update

Install the whois Package: After updating the package list, you can install the whois package using the following command:

sudo apt install whois

The developer cloud

Scale up as you grow — whether you're running one virtual machine or ten thousand.

Get started for free

Sign up and get $200 in credit for your first 60 days with DigitalOcean.*

*This promotional offer applies to new accounts only.