1. Home
  2. Security Tools
  3. Install NMAP on Ubuntu

Install NMAP on Ubuntu

Nmap is a powerful network discovery and security auditing utility that is free, open-source, and easy to install. Nmap scans for vulnerabilities on your network, performs inventory checks, and monitors host or service uptime, alongside many other useful features.


You will need the following to install NMAP on your Ubuntu server:

  • Command line interface
  • APT Package Manager
  • Root access to server (Sudo)

Step 1: Make Sure Ubuntu is Up-to-Date

It is best practice to always run an update when installing new applications. This ensures you’re running off the latest options in the package manager.

# sudo apt-get update

Step 2: Install NMAP from Package Manager

Use the APT package manager to install the latest version of NMAP:

# sudo apt-get install -y nmap

Step 3: Verify the NMAP Version

That’s it. Now verify the version you’re working with. At the time we wrote this post, our version was 7.8:

root@localhost:~# nmap --version Nmap version 7.80 ( https://nmap.org )
Updated on December 8, 2023

Was this article helpful?

Related Articles

Need Support?
Can’t find the answer you’re looking for? Don’t worry we’re here to help!
Email: support@noc.org

Leave a Comment