Nmap-7.95

Introduction to Nmap

Nmap is a utility for network exploration and security auditing. It supports ping scanning, port scanning and TCP/IP fingerprinting.

[Note]

Note

Development versions of BLFS may not build or run some packages properly if LFS or dependencies have been updated since the most recent stable versions of the books.

Package Information

  • Download (HTTP): https://nmap.org/dist/nmap-7.95.tar.bz2

  • Download MD5 sum: b481d293e53b20278d5370458da9a950

  • Download size: 11 MB

  • Estimated disk space required: 116 MB (add 38 MB for tests)

  • Estimated build time: 0.4 SBU (Using parallelism=4; add 0.1 SBU for tests)

Nmap Dependencies

Recommended

[Note]

Note

These packages are recommended because if they're not installed, the build process will compile and link against its own (often older) version.

Optional

libdnet

Installation of Nmap

First, if it is not already installed, add a needed Python module. As the root user:

pip3 install build

Install Nmap by running the following commands:

./configure --prefix=/usr &&
make

If you wish to run the test suite, run the following command:

sed -e '/import imp/d'                \
    -e 's/^ndiff = .*$/import ndiff/' \
    -i ndiff/ndifftest.py

To test the results, issue: make check as the root user. Tests need a graphical session.

Now, as the root user:

make install

Contents

Installed Programs: ncat, ndiff, nmap, nping, uninstall_ndiff, uninstall_zenmap, zenmap, and 2 symlinks to zenmap: nmapfe and xnmap
Installed Libraries: None
Installed Directories: /usr/lib/python3.13/site-packages/{radialnet,zenmapCore,zenmapGUI,zenmap-7.95-py3.13.egg-info}, and /usr/share/{ncat,nmap,zenmap}

Short Descriptions

ncat

is a utility for reading and writing data across networks from the command line

ndiff

is a tool to aid in the comparison of Nmap scans

nmap

is a utility for network exploration and security auditing. It supports ping scanning, port scanning and TCP/IP fingerprinting

nping

is an open-source tool for network packet generation, response analysis and response time measurement

uninstall_ndiff

is a Python script to uninstall ndiff

uninstall_zenmap

is a Python script to uninstall zenmap

zenmap

is a Python based graphical nmap frontend viewer