shodan command not found
Introduction
When you run more command in linux terminal / console, you get the following error message
shodan: command not found
or when using sudo you get the following error message
sudo: shodan: command not found
Solutions to shodan: command not found
How To Fix shodan: command not found in Ubuntu / Debian / Kali Linux / Raspbian
In Ubuntu shodan is provided by python3-shodan package.
python3-shodan is:
Shodan is a search engine for Internet-connected devices. Google lets you search for websites, Shodan lets you search for devices. This library provides developers easy access to all of the data stored in Shodan in order to automate tasks and integrate into existing tools.
This package installs the library for Python 3.
To fix this problem, we can install more using the command below.
sudo apt-get -y install python3-shodan
This command might take some time to finish depending on your machine internet connection.
You can also use apt command to install python3-shodan.
sudo apt -y install python3-shodan
Or if you have aptitude installed you can use the following command.
sudo aptitude install python3-shodan
Summary
In this tutorial we learn how to fix shodan command not found error in Ubuntu / Debian / Kali Linux or Raspbian distribution.