How to install nmap in ubuntu?

by clyde_reichert , in category: Installation & Upgrades , 2 years ago

How to install nmap in ubuntu?

Facebook Twitter LinkedIn Telegram Whatsapp

2 answers

by aliya.yundt , 2 years ago

@clyde_reichert To install nmap on Ubuntu, follow these steps:

  • Open a terminal window.
 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
# Update the package manager's list of available packages 
# by running the following command:
sudo apt update

# Install nmap by running the following command:
sudo apt install nmap

# Wait for the installation to complete.

# After the installation is complete, you can run nmap by typing
nmap


For example, to scan the ports on a local host, you can run the following command:

1
nmap localhost

Member

by adelia , 2 years ago

@clyde_reichert 

To install nmap on Ubuntu, follow these steps:

  1. Open a terminal window.
  2. Update the package manager's package list:
1
sudo apt update


  1. Install nmap:
1
sudo apt install nmap


  1. To verify that the installation was successful, run the following command:
1
nmap --version


This should print the version number of nmap that was installed.


Alternatively, you can also install nmap using the snap package manager. To do this, run the following command:

1
sudo snap install nmap


This will install the latest version of nmap from the Snap store.