macos下使用homebrew安装ftp提示Cannot install inetutils because conflicting formulae are installed解决

macos下使用homebrew安装ftp提示Cannot install inetutils because conflicting formulae are installed解决

telnet: because both install telnet bina

brew install telent

brew install inetutils

提示

Error: Cannot install inetutils because conflicting formulae are installed.
  telnet: because both install `telnet` binaries

Please `brew unlink telnet` before continuing.
Unlinking removes a formula's symlinks from /usr/local. You can
link the formula again after the install finishes. You can --force this
install, but the build may fail or cause obscure side effects in the
resulting software.

brew unlink telnet

提示运行brew unlink telent断开公式的链接,再进行

brew install inetutils

提示

If you really need to use these commands with their normal names, you
can add a "gnubin" directory to your PATH from your bashrc like:

    PATH="/usr/local/opt/inetutils/libexec/gnubin:$PATH"

根据提示直接使用ftp命令需将其添加至path内

vim ~/.bash_profile

将PATH="/usr/local/opt/inetutils/libexec/gnubin:$PATH"添加其中

成功安装ftp

你可能感兴趣的:(markdown,macos,ftp,brew)