Screenshot of the port command running in Terminal | |
Initial release | 2002[1] |
---|---|
Stable release | |
Written in | Tcl[3] and C |
Operating system | macOS, Darwin |
Platform | IA-32, x86-64, PowerPC |
Type | Package management system |
License | BSD |
Website | macports.org |
sudo port install packagename
in the Terminal, which will then download, compile if necessary, and install the requested software, while also installing any required dependencies automatically. Installed packages can be updated with the command sudo port upgrade outdated
.[5] An official GUI application called Pallet is also available.[6]nmap-<version>
.dmg
, where<version>
is the version number of the mostrecent release. The.dmg
file is known as a“disk image”. Installation instructions follow:nmap-<version>
.dmg
.Double-click the icon to open it. (Depending on how you downloaded thefile, it may be opened automatically.)nmap-<version>
.mpkg
.Open it to start the installer..mpkg
and select “Open”,as shown inFigure 2.3.Download
header icon and clicking the Install
button next to “Command Line Tools”./sw/bin/nmap
. To uninstall use the commandfink remove nmap./opt/local/bin/nmap
. To uninstall, runsudo port uninstall nmap.nmap
executable outside the global PATH
. To enable Zenmap tofind it, set the nmap_command_path
variable inzenmap.conf
to /sw/bin/nmap
or/opt/local/bin/nmap
as described inthe section called “The nmap
Executable”./Applications/Utilities
. Open it and aterminal window appears. This is where you will type your commands.<target>
.You will be asked for a password, which is just your normal loginpassword. Only users with administrator privileges can do this.