0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

More than 1 year has passed since last update.

macos に homebrew で openssl 覚え書き

Last updated at Posted at 2022-05-20
-zsh ~ % which openssl
/usr/bin/openssl
-zsh ~ % openssl version
LibreSSL 2.8.3
-zsh ~ %
-zsh ~ % brew install openssl
(snip)
openssl@3 is keg-only, which means it was not symlinked into /opt/homebrew,
because macOS provides LibreSSL.

If you need to have openssl@3 first in your PATH, run:
  echo 'export PATH="/opt/homebrew/opt/openssl@3/bin:$PATH"' >> ~/.zshrc
(snip)
-zsh ~ % /opt/homebrew/Cellar/openssl@3/3.0.3/bin/openssl version
OpenSSL 3.0.3 3 May 2022 (Library: OpenSSL 3.0.3 3 May 2022)
-zsh ~ % which openssl
/usr/bin/openssl
-zsh ~ %
-zsh ~ % echo 'export PATH="/opt/homebrew/opt/openssl@3/bin:$PATH"' >> ~/.zshrc
-zsh ~ % source ~/.zshrc
-zsh ~ % which openssl
/opt/homebrew/opt/openssl@3/bin/openssl
-zsh ~ % openssl version
OpenSSL 3.0.3 3 May 2022 (Library: OpenSSL 3.0.3 3 May 2022)
-zsh ~ %
0
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?