wget 설치하는법

Mac OS X에서 wget을 설치하는 방법
wget는 정말 편리한 명령줄 유틸리티지만, 안타깝게도 OS X에는 포함되지 않았다. 물론  Curl은 적절한 대체물이 될 수 있지만, 종종 wget로 스크립트가 쓰여지고, curl을 사용하는 것으로 변환하는 것은 어렵고 시간이 오래 걸릴 수 있어서 wget이 선호되는 경향이 있다.

homebrew로 wget을 설치하면 된다.
1
!brew install wget
Updating Homebrew...
==> Auto-updated Homebrew!
Updated 2 taps (homebrew/core and homebrew/cask).
==> Updated Formulae
plenv               postgresql@11       swiftformat         tomee-webprofile
postgresql          postgresql@9.5      tomee-plume
postgresql@10       postgresql@9.6      tomee-plus
==> Updated Casks
cryo                                     switchresx

Warning: wget 1.20.3_2 is already installed and up-to-date
To reinstall 1.20.3_2, run `brew reinstall wget`
1
2
3
4
!brew uninstall --force node
!brew uninstall icu4c && brew install icu4c
!brew unlink icu4c && brew link icu4c --force
!brew install node
Uninstalling node... (4,660 files, 60.3MB)
Error: Refusing to uninstall /usr/local/Cellar/icu4c/66.1
because it is required by graphviz, harfbuzz and pango, which are currently installed.
You can override this and force removal with:
  brew uninstall --ignore-dependencies icu4c
Unlinking /usr/local/Cellar/icu4c/66.1... 0 symlinks removed
Warning: Refusing to link macOS provided/shadowed software: icu4c
If you need to have icu4c first in your PATH run:
  echo 'export PATH="/usr/local/opt/icu4c/bin:$PATH"' >> /Users/wglee/.bash_profile
  echo 'export PATH="/usr/local/opt/icu4c/sbin:$PATH"' >> /Users/wglee/.bash_profile

For compilers to find icu4c you may need to set:
  export LDFLAGS="-L/usr/local/opt/icu4c/lib"
  export CPPFLAGS="-I/usr/local/opt/icu4c/include"
Updating Homebrew...
==> Downloading https://homebrew.bintray.com/bottles/node-14.3.0.catalina.bottle
==> Downloading from https://akamai.bintray.com/e3/e34c4c25365bc0f5cc245d791dd93
######################################################################## 100.0%
==> Pouring node-14.3.0.catalina.bottle.tar.gz
==> Caveats
Bash completion has been installed to:
  /usr/local/etc/bash_completion.d
==> Summary
🍺  /usr/local/Cellar/node/14.3.0: 4,659 files, 60.8MB


** 필자가 갑자기 hexo가 작동되지 않아 적잖이 당황하던 중 해결법을 찾아서 이것도 공유해.
!brew uninstall --force node
!brew uninstall icu4c && brew install icu4c
!brew unlink icu4c && brew link icu4c --force
!brew install node

노드 언인스톨 후 재설치하면 문제 없이 작동한다.
You need to set install_url to use ShareThis. Please set it in _config.yml.
You forgot to set the business or currency_code for Paypal. Please set it in _config.yml.

Comments

You forgot to set the shortname for Disqus. Please set it in _config.yml.