競合する式がインストールされているため、homebrewを使用してmacosの下にftpをインストールし、inetutilsをインストールできません

競合する式がインストールされているため、homebrewを使用してmacosの下にftpをインストールし、inetutilsをインストールできません

telnet:両方ともtelnetbinaをインストールするため

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.

醸造リンク解除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コマンドを直接使用してパスに追加します

vim ~/.bash_profile

PATH = "/ usr / local / opt / inetutils / libexec / gnubin:$ PATH"を追加します

ftpが正常にインストールされました

おすすめ

転載: blog.csdn.net/SEAN_JYY/article/details/113242222