diff --git a/docs/nmap-install.xml b/docs/nmap-install.xml index c2f7bab33..7d4f96a71 100644 --- a/docs/nmap-install.xml +++ b/docs/nmap-install.xml @@ -520,7 +520,7 @@ paths and such. These packages also allow for consistent management in terms of upgrading, removing, or surveying software on the system. A downside is that packages created by the distributions are necessarily behind the Nmap.Org source releases. Most Linux -distributions (particularly Debian and Gentoo) keep their Nmap package +distributions keep their Nmap package relatively current, though a few are way out of date. Choosing the source install allows for more flexibility in determining how Nmap is built and optimized for your system. To build Nmap from source, see @@ -666,7 +666,7 @@ Complete! Ubuntu, installing on LaMont Jones Jones, LaMont -does a fabulous job maintaining the Nmap .deb +maintaining the Nmap deb packages, including keeping them reasonably up-to-date. The proper upgrade/install command is apt-get install nmap. apt-get @@ -675,6 +675,19 @@ the latest Debian stable Nmap package is available at and the development (unstable) Nmap and Zenmap packages are available from and . + +Sometimes Debian's Nmap releases are a year or more behind the current Nmap version. One option for obtaining the latest release is to compile from source code, as described in . Another option is to download the RPM-format binaries from the Nmap download page, convert them to deb packages using the alien command, and then install them using dpkg, as described in the following list: + + +Steps for converting Nmap RPM files to Debian/Ubuntu <filename>deb</filename> format for installation on Debian/Ubuntu +If you don't have the alien command, install it with a command such as sudo apt-get install alien lintian +Download the Nmap RPMs for your platform (x86 or x86-64) from . This description will use nmap-5.21-1.x86_64.rpm +Verify the download integrity as described in . +Generate a Debian package with a command such as sudo alien nmap-5.21-1.x86_64.rpm +Install the Debian package with a command such as sudo dpkg --install nmap_5.21-2_amd64.deb +Steps 2–5 can be repeated for the other Nmap RPMs such as Zenmap, Ncat, and Nping. + + Other Linux Distributions @@ -832,7 +845,7 @@ the latest version from . You must install version 4.0 or later. Due to the way Nmap is compiled, it requires the -Microsoft Visual C++ 2008 Redistributable Package of runtime +Microsoft Visual C++ 2008 Redistributable Package of runtime components. Many systems already have this installed from other packages, but you should run vcredist_x86.exe from the zip file just in case you need it. Pass the option to run that installer in quiet (non interactive) mode.