Categories:
在 macOS 使用 Homebrew 安装 Nmap
安装 nmap 之后可能出现如下错误
$ 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.
这是因为 manual 的德语版本修改权限不够 (?????? 为什么会这样)
$ sudo chown -R $USER /usr/local/share/man/de
$ brew link nmap
Linking /usr/local/Cellar/nmap/7.40... 26 symlinks created