Install nmap if you don't already have it on your Linux computer. Run "sudo apt-get install nmap" on Ubuntu, or "sudo dnf ...
Nmap is an essential tool for anyone who's serious about network security. It can be installed on any Linux distribution.