• 博客园logo
  • 会员
  • 众包
  • 新闻
  • 博问
  • 闪存
  • 赞助商
  • HarmonyOS
  • Chat2DB
    • 搜索
      所有博客
    • 搜索
      当前博客
  • 写随笔 我的博客 短消息 简洁模式
    用户头像
    我的博客 我的园子 账号设置 会员中心 简洁模式 ... 退出登录
    注册 登录
LA椰子
博客园    首页    新随笔    联系   管理    订阅  订阅
Mac 不通过 brew 安装 Telnet 工具

通过 brew install telnet 时会要求安装 xcode

 brew install telnet
Warning: No remote 'origin' in /usr/local/Homebrew/Library/Taps/homebrew/homebrew-services, skipping update!
Running `brew update --auto-update`...
==> Auto-updated Homebrew!
Updated 3 taps (homebrew/cask-versions, homebrew/core and homebrew/cask).

You have 11 outdated formulae installed.
You can upgrade them with brew upgrade
or list them with brew outdated.

Warning: You are using macOS 10.14.
We (and Apple) do not provide support for this old version.
You will encounter build failures with some formulae.
Please create pull requests instead of asking for help on Homebrew's GitHub,
Twitter or any other official channels. You are responsible for resolving
any issues you experience while you are running this
old version.

telnet: A full installation of Xcode.app is required to compile
this software. Installing just the Command Line Tools is not sufficient.

Xcode can be installed from the App Store.
Error: telnet: An unsatisfied requirement failed this build.

如果不想安装xcode 可用下面方式安装

从地址: https://ftp.gnu.org/gnu/inetutils/ 下载某个版本, 例如: inetutils-2.3.tar.xz

然后解压

tar -zxf inetutils-2.3.tar.xz
cd inetutils-2.3
make -j8 ## 报错可不管
sudo make install

## 最后验证安装结果
telnet --version

 

个人博客: https://lanxy.top
posted on 2022-07-14 17:57  LA椰子  阅读(2885)  评论(1)    收藏  举报
刷新页面返回顶部
博客园  ©  2004-2025
浙公网安备 33010602011771号 浙ICP备2021040463号-3