How To Install python3-natlas-libnmap on Rocky Linux 8

In this tutorial we learn how to install python3-natlas-libnmap on Rocky Linux 8. python3-natlas-libnmap is Python library for nmap tasks, parse and compare/diff scan results

Introduction

In this tutorial we learn how to install python3-natlas-libnmap on Rocky Linux 8.

What is python3-natlas-libnmap

libnmap is a Python toolkit for manipulating nmap. It allows you to process namp scans and process the output in various ways.

We can use yum or dnf to install python3-natlas-libnmap on Rocky Linux 8. In this tutorial we discuss both methods but you only need to choose one of method to install python3-natlas-libnmap.

Install python3-natlas-libnmap 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-natlas-libnmap using dnf by running the following command:

sudo dnf -y install python3-natlas-libnmap

Install python3-natlas-libnmap 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-natlas-libnmap using yum by running the following command:

sudo yum -y install python3-natlas-libnmap

How To Uninstall python3-natlas-libnmap on Rocky Linux 8

To uninstall only the python3-natlas-libnmap package we can use the following command:

sudo dnf remove python3-natlas-libnmap

python3-natlas-libnmap Package Contents on Rocky Linux 8

/usr/lib/python3.6/site-packages/libnmap
/usr/lib/python3.6/site-packages/libnmap/__init__.py
/usr/lib/python3.6/site-packages/libnmap/__pycache__
/usr/lib/python3.6/site-packages/libnmap/__pycache__/__init__.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/libnmap/__pycache__/__init__.cpython-36.pyc
/usr/lib/python3.6/site-packages/libnmap/__pycache__/diff.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/libnmap/__pycache__/diff.cpython-36.pyc
/usr/lib/python3.6/site-packages/libnmap/__pycache__/parser.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/libnmap/__pycache__/parser.cpython-36.pyc
/usr/lib/python3.6/site-packages/libnmap/__pycache__/reportjson.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/libnmap/__pycache__/reportjson.cpython-36.pyc
/usr/lib/python3.6/site-packages/libnmap/diff.py
/usr/lib/python3.6/site-packages/libnmap/objects
/usr/lib/python3.6/site-packages/libnmap/objects/__init__.py
/usr/lib/python3.6/site-packages/libnmap/objects/__pycache__
/usr/lib/python3.6/site-packages/libnmap/objects/__pycache__/__init__.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/libnmap/objects/__pycache__/__init__.cpython-36.pyc
/usr/lib/python3.6/site-packages/libnmap/objects/__pycache__/cpe.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/libnmap/objects/__pycache__/cpe.cpython-36.pyc
/usr/lib/python3.6/site-packages/libnmap/objects/__pycache__/host.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/libnmap/objects/__pycache__/host.cpython-36.pyc
/usr/lib/python3.6/site-packages/libnmap/objects/__pycache__/os.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/libnmap/objects/__pycache__/os.cpython-36.pyc
/usr/lib/python3.6/site-packages/libnmap/objects/__pycache__/report.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/libnmap/objects/__pycache__/report.cpython-36.pyc
/usr/lib/python3.6/site-packages/libnmap/objects/__pycache__/service.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/libnmap/objects/__pycache__/service.cpython-36.pyc
/usr/lib/python3.6/site-packages/libnmap/objects/cpe.py
/usr/lib/python3.6/site-packages/libnmap/objects/host.py
/usr/lib/python3.6/site-packages/libnmap/objects/os.py
/usr/lib/python3.6/site-packages/libnmap/objects/report.py
/usr/lib/python3.6/site-packages/libnmap/objects/service.py
/usr/lib/python3.6/site-packages/libnmap/parser.py
/usr/lib/python3.6/site-packages/libnmap/reportjson.py
/usr/lib/python3.6/site-packages/natlas_libnmap-0.7.1-py3.6.egg-info
/usr/lib/python3.6/site-packages/natlas_libnmap-0.7.1-py3.6.egg-info/PKG-INFO
/usr/lib/python3.6/site-packages/natlas_libnmap-0.7.1-py3.6.egg-info/SOURCES.txt
/usr/lib/python3.6/site-packages/natlas_libnmap-0.7.1-py3.6.egg-info/dependency_links.txt
/usr/lib/python3.6/site-packages/natlas_libnmap-0.7.1-py3.6.egg-info/requires.txt
/usr/lib/python3.6/site-packages/natlas_libnmap-0.7.1-py3.6.egg-info/top_level.txt
/usr/share/doc/python3-natlas-libnmap
/usr/share/doc/python3-natlas-libnmap/README.md
/usr/share/licenses/python3-natlas-libnmap
/usr/share/licenses/python3-natlas-libnmap/LICENSE.txt

References

Summary

In this tutorial we learn how to install python3-natlas-libnmap on Rocky Linux 8 using yum and dnf.