---
title: "One line to install NMAP 5.0 from source"
description: "The below command , is what i got after playing with wget and tar for a while, just copy and paste in the terminal to in JS."
url: "https://h3manth.com/scribe/nmap/"
canonical_url: "https://h3manth.com/scribe/nmap/"
markdown_url: "https://h3manth.com/scribe/blog/nmap.md"
publishDate: "2009-07-18T00:00:00.000Z"
author: "Hemanth HM"
category: "linux"
tags: ["bash","web"]
word_count: 59
reading_time_minutes: 1
x_markdown_tokens: 171
content_signal: "ai-train=yes, search=yes, ai-input=yes"
---

# One line to install NMAP 5.0 from source

> The below command , is what i got after playing with wget and tar for a while, just copy and paste in the terminal to in JS.

The below command , is what i got after playing with wget and tar for a while, just copy and paste in the terminal to install Nmap.

P.S : Root privileges are a must 

`

sudo wget -c "http://nmap.org/dist/nmap-5.00.tar.bz2" && bzip2 -cd nmap-5.00.tar.bz2 | tar xvf - && cd nmap-5.00 && ./configure && make && sudo make install

`
