Removing Nmap
The uninstallation process of Nmap is pretty straightforward on both Windows and Linux. This will remove all the dependencies and libraries that have been installed by Nmap.
How to do it…
Follow these steps to uninstall Nmap on Windows:
- Navigate to the Control Panel of the Windows machine
- Select Uninstall or change a program
- Locate and select the Nmap package in the list of software installed
- Click Uninstall
This will uninstall the Nmap software and its data from any Windows machine.
There's more…
In Linux-based distributions, you can simply delete all the folders pertaining to Nmap to uninstall Nmap from your machine. If you have installed Nmap from a downloaded source, there will exist an uninstallation script in the same folder that will uninstall Nmap from your machine. Furthermore, if it was installed in the default location, it can be removed using the following commands:
rm -f bin/Nmap bin/nmapfe bin/xnmap rm -f man/man1/Nmap.1 man/man1/zenmap.1 rm -rf share/Nmap ./bin/uninstall_zenmap...