How to install Nmap 5.20 in Ubuntu [from source]

Advertisements

Nmap 5.20 was released recently with some exciting changes. However, it is not yet available for Ubuntu. In this article, we will show you how you can compile and install Nmap 5.20 from the source code in Ubuntu.

To install Nmap 5.20, simply follow the steps given below:

1. Make sure you have bzip2 and g++ installed. If not, tou can install them using the command

sudo apt-get install bzip2 g++

2. Download nmap-5.20.tar.bz2 in any location of your choice. In this example we are going to assume that it is downloaded in ~/Downloads.

3. After downloading open the terminal and go to the download location. In my case it is ~/Downloads, so the command would be

cd ~/Downloads

4. Extract the file using the command given below in the terminal,

bzip2 -cd nmap-5.20.tar2 | tar xvf -

5. Go to the nmap-5.20 directory with the command

cd nmap-5.20

6. After that run the following commands one after the another to build and finish the installation.

./configure

make

sudo make install

After running the last command, nmap-5.20 will be installed in your system. You can check the version using the command

nmap -version



January 22nd, 2010 Written by Ricky    

Free subscription: Subscribe RSS feed or get daily tips in your email
* Click confirmation link sent in email * Don't see the email? check spam folder

  Facebook 

Tags: , ,

Liked it? Share...   Digg It!   Submit to Del.icio.us   Submit to Reddit   Stumble   Submit to Identica   Slashdot It   Send to a friend via email


blog comments powered by Disqus

Trackbacks