2021/06/04 Updated by

Mac arm64: 初期設定


[Up] Japanese English

wgetのインストール

  1. Homebrew x86_64 経由でインストールする (2021/Jan/23 現在 arm64 版 wgetはまだ無かった)
  2. (x86_64)% bew install wget
    
  3. インストールの最後に以下のメッセージが出力された。wgetでSSLを使うときの注意事項らしい。
  4. A CA file has been bootstrapped using certificates from the system
    keychain. To add additional certificates, place .pem files in
      /usr/local/etc/openssl@1.1/certs
    
    and run
      /usr/local/opt/openssl@1.1/bin/c_rehash
    
    openssl@1.1 is keg-only, which means it was not symlinked into /usr/local,
    because macOS provides LibreSSL.
    
    If you need to have openssl@1.1 first in your PATH run:
      echo 'export PATH="/usr/local/opt/openssl@1.1/bin:$PATH"' >> ~/.zshrc
    
    For compilers to find openssl@1.1 you may need to set:
      export LDFLAGS="-L/usr/local/opt/openssl@1.1/lib"
      export CPPFLAGS="-I/usr/local/opt/openssl@1.1/include"