Use homebrew to install ftp under macos and prompt Cannot install inetutils because conflicting formulae are installed

Use homebrew to install ftp under macos and prompt Cannot install inetutils because conflicting formulae are installed

telnet: because both install telnet bina

brew install telent

brew install inetutils

prompt

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

Prompt to run brew unlink telent to disconnect the link of the formula before proceeding

brew install inetutils

prompt

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"

Follow the prompts to use the ftp command directly to add it to the path

vim ~/.bash_profile

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

Successfully installed ftp

Guess you like

Origin blog.csdn.net/SEAN_JYY/article/details/113242222