Nmap-7.95

#### Beyond Linux® From Scratch (systemd Edition) - Version 12.2

### Chapter 16. Networking Utilities

- Prev

  network-manager-applet-1.34.0

- Next

  Traceroute-2.1.5

- Up
- Home

# 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.

This package is known to build and work properly using an LFS 12.2 platform.

### 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

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

liblinear-247, libpcap-1.10.4, libssh2-1.11.0, Lua-5.4.7, pcre2-10.44, and PyGObject-3.48.2

#### 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.12/site-packages/{radialnet,zenmapCore,zenmapGUI,zenmap-7.95-py3.12.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

- Prev

  network-manager-applet-1.34.0

- Next

  Traceroute-2.1.5

- Up
- Home