From charlesreid1

Installing

To install nmap on a Mac, use Homebrew.

When I used Homebrew to install nmap, the installation step was successful, but Homebrew failed to link due to a permissions problem:

$ brew install nmap
Warning: nmap-7.40 already installed, it's just not linked.

$ brew link nmap
Linking /usr/local/Cellar/nmap/7.40...
Error: Could not symlink share/man/de/man1/nmap.1
/usr/local/share/man/de/man1 is not writable.

O NOES!!! Because I don't give two hoots about German man pages, I just changed the permissions of this folder:

$ sudo chown -R $USER /usr/local/share/man/de

$ brew link nmap
Linking /usr/local/Cellar/nmap/7.40... 26 symlinks created


Flags