Steps for converting Nmap RPM files to Debian/Ubuntu deb
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
- Download the Nmap RPMs for your platform (x86 or x86-64) from https://nmap.org/download.html. This description will use
nmap-5.21-1.x86_64.rpm
- Verify the download integrity as described in the section called “Verifying the Integrity of Nmap Downloads”.
- 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.