Hello everyone! I have a question. I do not know how to install nmap and all of its dependencies on Ubuntu. As far as I know, we can use the command
"# pkgutil i nmap nmap" to install nmap and all of its dependencies on Solaris, however this command is not available on Ubuntu. So I tried to use "sudo apt-get install nmap". It seems that nmap and all of its dependencies have not been installed successfully. Because I did not get lots of lines printing out and periodically asking me to enter all or y. I did not see lots of lines that start with Fetching.... Also I tried to scan a specific machine for open ports. (e.g. # nmap –v 220.127.116.11 > filename2 2> errorfilename &). I have re-directed output, both standard out and standard error, to files and executed the program in the background. When I check the two files, I found that they were empty. I do not know why. After I input the command "sudo apt-get install nmap", the following lines were displayed on the terminal. I am a beginner of learning Linux. I am looking forward to your reply. Thank you very much!
user@cpsc420620-desktop:~$ sudo apt-get install nmap
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following packages were automatically installed and are no longer required:
linux-headers-2.6.24-19-generic seamonkey-mailnews linux-headers-2.6.24-19
Use 'apt-get autoremove' to remove them.
The following NEW packages will be installed:
0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded.
Need to get 1013kB of archives.
After this operation, 3506kB of additional disk space will be used.
hardy/main nmap 4.53-3 [1013kB]
Fetched 1013kB in 1s (701kB/s)
Selecting previously deselected package nmap.
(Reading database ... 141330 files and directories currently installed.)
Unpacking nmap (from .../archives/nmap_4.53-3_i386.deb) ...
Setting up nmap (4.53-3) ...