How To Install python3-shodan on Rocky Linux 8
Introduction
In this tutorial we learn how to install python3-shodan
on Rocky Linux 8.
What is python3-shodan
The official Python library and CLI for Shodan 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.
We can use yum
or dnf
to install python3-shodan
on Rocky Linux 8. In this tutorial we discuss both methods but you only need to choose one of method to install python3-shodan.
Install python3-shodan on Rocky Linux 8 Using dnf
Update yum database with dnf
using the following command.
sudo dnf makecache --refresh
After updating yum database, We can install python3-shodan
using dnf
by running the following command:
sudo dnf -y install python3-shodan
Install python3-shodan on Rocky Linux 8 Using yum
Update yum database with yum
using the following command.
sudo yum makecache --refresh
After updating yum database, We can install python3-shodan
using yum
by running the following command:
sudo yum -y install python3-shodan
How To Uninstall python3-shodan on Rocky Linux 8
To uninstall only the python3-shodan
package we can use the following command:
sudo dnf remove python3-shodan
python3-shodan Package Contents on Rocky Linux 8
/usr/lib/python3.6/site-packages/shodan
/usr/lib/python3.6/site-packages/shodan-1.23.0-py3.6.egg-info
/usr/lib/python3.6/site-packages/shodan-1.23.0-py3.6.egg-info/PKG-INFO
/usr/lib/python3.6/site-packages/shodan-1.23.0-py3.6.egg-info/SOURCES.txt
/usr/lib/python3.6/site-packages/shodan-1.23.0-py3.6.egg-info/dependency_links.txt
/usr/lib/python3.6/site-packages/shodan-1.23.0-py3.6.egg-info/entry_points.txt
/usr/lib/python3.6/site-packages/shodan-1.23.0-py3.6.egg-info/requires.txt
/usr/lib/python3.6/site-packages/shodan-1.23.0-py3.6.egg-info/top_level.txt
/usr/lib/python3.6/site-packages/shodan/__init__.py
/usr/lib/python3.6/site-packages/shodan/__main__.py
/usr/lib/python3.6/site-packages/shodan/__pycache__
/usr/lib/python3.6/site-packages/shodan/__pycache__/__init__.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/shodan/__pycache__/__init__.cpython-36.pyc
/usr/lib/python3.6/site-packages/shodan/__pycache__/__main__.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/shodan/__pycache__/__main__.cpython-36.pyc
/usr/lib/python3.6/site-packages/shodan/__pycache__/client.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/shodan/__pycache__/client.cpython-36.pyc
/usr/lib/python3.6/site-packages/shodan/__pycache__/exception.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/shodan/__pycache__/exception.cpython-36.pyc
/usr/lib/python3.6/site-packages/shodan/__pycache__/helpers.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/shodan/__pycache__/helpers.cpython-36.pyc
/usr/lib/python3.6/site-packages/shodan/__pycache__/stream.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/shodan/__pycache__/stream.cpython-36.pyc
/usr/lib/python3.6/site-packages/shodan/__pycache__/threatnet.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/shodan/__pycache__/threatnet.cpython-36.pyc
/usr/lib/python3.6/site-packages/shodan/cli
/usr/lib/python3.6/site-packages/shodan/cli/__init__.py
/usr/lib/python3.6/site-packages/shodan/cli/__pycache__
/usr/lib/python3.6/site-packages/shodan/cli/__pycache__/__init__.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/shodan/cli/__pycache__/__init__.cpython-36.pyc
/usr/lib/python3.6/site-packages/shodan/cli/__pycache__/alert.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/shodan/cli/__pycache__/alert.cpython-36.pyc
/usr/lib/python3.6/site-packages/shodan/cli/__pycache__/data.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/shodan/cli/__pycache__/data.cpython-36.pyc
/usr/lib/python3.6/site-packages/shodan/cli/__pycache__/helpers.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/shodan/cli/__pycache__/helpers.cpython-36.pyc
/usr/lib/python3.6/site-packages/shodan/cli/__pycache__/host.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/shodan/cli/__pycache__/host.cpython-36.pyc
/usr/lib/python3.6/site-packages/shodan/cli/__pycache__/organization.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/shodan/cli/__pycache__/organization.cpython-36.pyc
/usr/lib/python3.6/site-packages/shodan/cli/__pycache__/scan.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/shodan/cli/__pycache__/scan.cpython-36.pyc
/usr/lib/python3.6/site-packages/shodan/cli/__pycache__/settings.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/shodan/cli/__pycache__/settings.cpython-36.pyc
/usr/lib/python3.6/site-packages/shodan/cli/__pycache__/worldmap.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/shodan/cli/__pycache__/worldmap.cpython-36.pyc
/usr/lib/python3.6/site-packages/shodan/cli/alert.py
/usr/lib/python3.6/site-packages/shodan/cli/converter
/usr/lib/python3.6/site-packages/shodan/cli/converter/__init__.py
/usr/lib/python3.6/site-packages/shodan/cli/converter/__pycache__
/usr/lib/python3.6/site-packages/shodan/cli/converter/__pycache__/__init__.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/shodan/cli/converter/__pycache__/__init__.cpython-36.pyc
/usr/lib/python3.6/site-packages/shodan/cli/converter/__pycache__/base.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/shodan/cli/converter/__pycache__/base.cpython-36.pyc
/usr/lib/python3.6/site-packages/shodan/cli/converter/__pycache__/csvc.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/shodan/cli/converter/__pycache__/csvc.cpython-36.pyc
/usr/lib/python3.6/site-packages/shodan/cli/converter/__pycache__/excel.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/shodan/cli/converter/__pycache__/excel.cpython-36.pyc
/usr/lib/python3.6/site-packages/shodan/cli/converter/__pycache__/geojson.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/shodan/cli/converter/__pycache__/geojson.cpython-36.pyc
/usr/lib/python3.6/site-packages/shodan/cli/converter/__pycache__/images.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/shodan/cli/converter/__pycache__/images.cpython-36.pyc
/usr/lib/python3.6/site-packages/shodan/cli/converter/__pycache__/kml.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/shodan/cli/converter/__pycache__/kml.cpython-36.pyc
/usr/lib/python3.6/site-packages/shodan/cli/converter/base.py
/usr/lib/python3.6/site-packages/shodan/cli/converter/csvc.py
/usr/lib/python3.6/site-packages/shodan/cli/converter/excel.py
/usr/lib/python3.6/site-packages/shodan/cli/converter/geojson.py
/usr/lib/python3.6/site-packages/shodan/cli/converter/images.py
/usr/lib/python3.6/site-packages/shodan/cli/converter/kml.py
/usr/lib/python3.6/site-packages/shodan/cli/data.py
/usr/lib/python3.6/site-packages/shodan/cli/helpers.py
/usr/lib/python3.6/site-packages/shodan/cli/host.py
/usr/lib/python3.6/site-packages/shodan/cli/organization.py
/usr/lib/python3.6/site-packages/shodan/cli/scan.py
/usr/lib/python3.6/site-packages/shodan/cli/settings.py
/usr/lib/python3.6/site-packages/shodan/cli/worldmap.py
/usr/lib/python3.6/site-packages/shodan/client.py
/usr/lib/python3.6/site-packages/shodan/exception.py
/usr/lib/python3.6/site-packages/shodan/helpers.py
/usr/lib/python3.6/site-packages/shodan/stream.py
/usr/lib/python3.6/site-packages/shodan/threatnet.py
/usr/share/doc/python3-shodan
/usr/share/doc/python3-shodan/README.rst
/usr/share/licenses/python3-shodan
/usr/share/licenses/python3-shodan/LICENSE
References
Summary
In this tutorial we learn how to install python3-shodan
on Rocky Linux 8 using yum and dnf.