通过 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
【推荐】国内首个AI IDE,深度理解中文开发场景,立即下载体验Trae
【推荐】编程新体验,更懂你的AI,立即体验豆包MarsCode编程助手
【推荐】抖音旗下AI助手豆包,你的智能百科全书,全免费不限次数
【推荐】轻量又高性能的 SSH 工具 IShell:AI 加持,快人一步
· 25岁的心里话
· 闲置电脑爆改个人服务器(超详细) #公网映射 #Vmware虚拟网络编辑器
· 基于 Docker 搭建 FRP 内网穿透开源项目(很简单哒)
· 零经验选手,Compose 一天开发一款小游戏!
· 一起来玩mcp_server_sqlite,让AI帮你做增删改查!!