---------下面贴出在Mac终端执行命令的一些信息:
SunMmdeiMac:~ qianjing$ ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)" ==> This script will install:
/usr/local/bin/brew
/usr/local/Library/...
/usr/local/share/man/man1/brew.1
Press RETURN to continue or any other key to abort ==> /usr/bin/sudo /bin/chmod g+rwx /Library/Caches/Homebrew
Password: ==> Downloading and installing Homebrew...
remote: Counting objects: 225571, done.
remote: Compressing objects: 100% (59354/59354), done.
remote: Total 225571 (delta 165037), reused 225482 (delta 164969)
Receiving objects: 100% (225571/225571), 51.57 MiB | 1.19 MiB/s, done.
Resolving deltas: 100% (165037/165037), done.
From https://github.com/Homebrew/homebrew
* [new branch] master -> origin/master
HEAD is now at 82d7dc4 tomcat: update 8.0.17 bottle. ==> Installation successful! ==> Next steps
Run `brew doctor` before you install anything
Run `brew help` to get started
SunMmdeiMac:~ qianjing$
SunMmdeiMac:~ qianjing$
SunMmdeiMac:~ qianjing$
SunMmdeiMac:~ qianjing$ brew install mysql ==> Installing mysql dependency: openssl ==> Downloading https://downloads.sf.net/project/machomebrew/Bottles/openssl-1.0.1l.yosemite.bottle.tar.gz
######################################################################## 100.0% ==> Pouring openssl-1.0.1l.yosemite.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.
Mac OS X already provides this software and installing another version in
parallel can cause all kinds of trouble.
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: