最新消息:20210816 当前crifan.com域名已被污染,为防止失联,请关注(页面右下角的)公众号

[已解决]Mac中wget没有安装:zsh: command not found: wget

Mac crifan 25060浏览 0评论

折腾:

[未解决]Mac中iTerm2去用rz传输结果终端无响应

期间,

➜  bin git:(master) pwd
/usr/local/bin
➜  bin git:(master) wget https://raw.github.com/mmastrac/iterm2-zmodem/master/iterm2-send-zmodem.sh
zsh: command not found: wget

mac zsh: command not found: wget

How to install wget on your Mac

osx – How to install wget in capitan mac 10.11 – Stack Overflow

➜  bin git:(master) brew install wget
==> Installing dependencies for wget: openssl
==> Installing wget dependency: openssl
==> Downloading https://homebrew.bintray.com/bottles/openssl-1.0.2h_1.el_capitan.bottle.tar.gz
######################################################################## 100.0%
==> Pouring openssl-1.0.2h_1.el_capitan.bottle.tar.gz
==> Caveats
A CA file has been bootstrapped using certificates from the system
keychain. To add additional certificates, place .pem files in
  /usr/local/etc/openssl/certs
and run
  /usr/local/opt/openssl/bin/c_rehash
This formula is keg-only, which means it was not symlinked into /usr/local.
Apple has deprecated use of OpenSSL in favor of its own TLS and crypto libraries
Generally there are no consequences of this for you. If you build your
own software and it requires this formula, you’ll need to add to your
build variables:
    LDFLAGS:  -L/usr/local/opt/openssl/lib
    CPPFLAGS: -I/usr/local/opt/openssl/include
==> Summary
🍺  /usr/local/Cellar/openssl/1.0.2h_1: 1,691 files, 12M
==> Installing wget
==> Downloading https://homebrew.bintray.com/bottles/wget-1.17.1.el_capitan.bottle.1.tar.gz
######################################################################## 100.0%
==> Pouring wget-1.17.1.el_capitan.bottle.1.tar.gz
🍺  /usr/local/Cellar/wget/1.17.1: 9 files, 1.5M

即可正常继续使用wget。

[总结]

Mac中去安装wget:

brew install wget

转载请注明:在路上 » [已解决]Mac中wget没有安装:zsh: command not found: wget

发表我的评论
取消评论

表情

Hi,您需要填写昵称和邮箱!

  • 昵称 (必填)
  • 邮箱 (必填)
  • 网址
89 queries in 0.173 seconds, using 22.14MB memory