How To Install python3-nmap on Fedora 36
Introduction
In this tutorial we learn how to install python3-nmap
on Fedora 36.
What is python3-nmap
python3-nmap is a Python library which helps in using nmap port scanner. It allows to easily manipulate nmap scan results and will be a perfect tool for systems administrators who want to automatize scanning task and reports. It also supports nmap script outputs.
We can use yum
or dnf
to install python3-nmap
on Fedora 36. In this tutorial we discuss both methods but you only need to choose one of method to install python3-nmap.
Install python3-nmap on Fedora 36 Using dnf
Update yum database with dnf
using the following command.
sudo dnf makecache --refresh
After updating yum database, We can install python3-nmap
using dnf
by running the following command:
sudo dnf -y install python3-nmap
Install python3-nmap on Fedora 36 Using yum
Update yum database with yum
using the following command.
sudo yum makecache --refresh
After updating yum database, We can install python3-nmap
using yum
by running the following command:
sudo yum -y install python3-nmap
How To Uninstall python3-nmap on Fedora 36
To uninstall only the python3-nmap
package we can use the following command:
sudo dnf remove python3-nmap
python3-nmap Package Contents on Fedora 36
/usr/lib/python3.10/site-packages/nmap
/usr/lib/python3.10/site-packages/nmap/__init__.py
/usr/lib/python3.10/site-packages/nmap/__pycache__
/usr/lib/python3.10/site-packages/nmap/__pycache__/__init__.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/nmap/__pycache__/__init__.cpython-310.pyc
/usr/lib/python3.10/site-packages/nmap/__pycache__/nmap.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/nmap/__pycache__/nmap.cpython-310.pyc
/usr/lib/python3.10/site-packages/nmap/__pycache__/test_nmap.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/nmap/__pycache__/test_nmap.cpython-310.pyc
/usr/lib/python3.10/site-packages/nmap/nmap.py
/usr/lib/python3.10/site-packages/nmap/test_nmap.py
/usr/lib/python3.10/site-packages/python_nmap-0.6.4-py3.10.egg-info
/usr/share/doc/python3-nmap
/usr/share/doc/python3-nmap/CHANGELOG
/usr/share/doc/python3-nmap/README.rst
/usr/share/licenses/python3-nmap
/usr/share/licenses/python3-nmap/gpl-3.0.txt
References
Summary
In this tutorial we learn how to install python3-nmap
on Fedora 36 using yum and [dnf]((/fedora/36/dnf/).