How to install Nmap?

So I tried to install it using the install/remove software and then run it out of the start menu but nothing happens. Bear with me I am new to linux, and thanks to anyone who can help,

–Shea68

nmap generally requires superuser permissions to run. You’ll have to run it from a root CLI session.

How can I do this? Do I have to run terminal then log in and put in commands? Thanks for helping by the way.

Yes, become root in a terminal session with

su -

and then run nmap. You may want to read the manual page, it’s not an interactive program, all the options are given on the command line.

Alright thanks for the help I wil definitely read the manual.

I logged in in the terminal and tried clicking the “Run Nmap” from the start menu, then tried sudo nmap.run and I couldn’t get it to run. I am assuming I am doing something wrong.

sudo nmap arguments

You’ll have to read the man page for the arguments.

Here’s a quick command string to execute;

Say you want to scan the ports in host of ip 192.168.10.11, then;

nmap -v 192.168.10.11

to further investigate ports in the 2000-3000 range, try;

nmap -v 192.168.10.11 -p2000-3000

to find out what software is running on the said open ports, try;

nmap -v -sV 192.168.10.11 -p2000-3000

All the best. Good luck. Remember that everybody was a newbie at some point of their lives.

p.s. do also try zenmap.

Thanks, I am just having trouble with the install as of now. I cant seem to find the right commands to plug in to get this ***** installed -__-…

Edit: I think its installed. When I just put in the command line sudo nmap a bunch of nmap commands came up.

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

I’m not sure this has been called out explicitly enough and it may help
you understand what you are seeing.

nmap is a command-line ONLY tool. As a result while you can run it from
the graphical interface (X) all that it will do is print what it is
looking for as far as usage information and then exit, which happens
infinitely quickly and which is why you are not seeing it happen. In
order to use nmap you either need a shell open (which it sounds like you
have now) and then to specify options telling nmap what to do (which you
likely haven’t added yet, but which MarcoMeswara has gone over very
briefly) or you need to get something like a graphical application as a
wrapper for nmap so you can do things in a graphical way. Zenmap is an
example of something that adds the graphical frontend to nmap so you can
choose what to do graphically (vs. via the command line) and
interactively, then just click a button to have nmap called and executed
in the background.

Good luck.

On 02/20/2011 08:06 PM, Shea68 wrote:
>
> MarcoMeswara;2292975 Wrote:
>> Here’s a quick command string to execute;
>>
>> Say you want to scan the ports in host of ip 192.168.10.11, then;
>>
>> nmap -v 192.168.10.11
>>
>> to further investigate ports in the 2000-3000 range, try;
>>
>> nmap -v 192.168.10.11 -p2000-3000
>>
>> to find out what software is running on the said open ports, try;
>>
>> nmap -v -sV 192.168.10.11 -p2000-3000
>>
>>
>> All the best. Good luck. Remember that everybody was a newbie at some
>> point of their lives.
>>
>> p.s. do also try zenmap.
>
> Thanks, I am just having trouble with the install as of now. I cant
> seem to find the right commands to plug in to get this ***** installed
> -__-…
>
> Edit: I think its installed. When I just put in the command line sudo
> nmap a bunch of nmap commands came up.
>
>
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.15 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iQIcBAEBAgAGBQJNYebWAAoJEF+XTK08PnB5KQkP/3t9Ckg4Ww5xLwJP09FAeVdA
AOaQdaisRYCFPqUQkMaaUle7HrIjyKGlOa2AjbehR3jFyjjU+7/aSwmLyJtX6tLt
SGvxpcJFveaYiC2efN18snxEno5ZoZITMRpn/ATzLXgFPimTEd13lR/5bO1o6e3y
3rwdN83dNfiMbLXZmcyELJ4xaSje9043nfVC4bN9WpmwF8CkZt9J2p8tx4bF3pbM
U1d4AS+qpQ4a/TgfPZO0nJmM6psUoYwGbipKNZYoeO+spmNCzTtYbsutJ+h303wk
9p6oLo7UCww+YyTklAHOAf/3DDiEG9L11oHA9mVi5DeUEDV8e5CC3nq4YnEj7OLA
1DSjIFISbAAss5YTz1hpxTzJJxn3pjpQgJsx3M2+0EPccBja4UBOUtJ8Nbd4xR/G
wYgIVL5Zd4t2eP1CTyGXBunPYa5GXlD93xw3U9hhGSm0rwlfMC+8NiMRQTayzBfO
1CYTUVJXhF1jN2IzBwOMMBVtVOm6lciYJIUiiW4RytGS2ronkRfuKwfQsk09A3kb
IgsoO6YcRGD1eud9wG4vEDGcva6ZHDSI4OkJQBwXG5PTOCVIqlNgORTBUPsUr5Mw
CARyjgzcAVVgtTcyiHX/Eg4jNCjQLWaX6cLQ5zXcOqZTJ0kLBdNPe+sKEP/DHDoy
esORsU0VMac6i2CfTAJv
=XBVP
-----END PGP SIGNATURE-----