Thursday, September 13, 2012

How to install Nmap 6.01 in Ubuntu from source?


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 nmap6.01 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-6.01.tar2 | tar xvf -

5. Go to the nmap-6.01 directory with the command
        cd nmap-6.01

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-6.01 will be installed in your system. You can check the version using the command
nmap -version

0 comments:

Post a Comment