I'm a tree and wating for the spring!
|

【原创】MacOS10.10安装Homebrew

★作者:桐星豆博客   |  ★类别: MacOS   |  ★发布时间: 2015-07-29 22:18   |  ★更新时间: 2015-07-29 22:32   |  ★浏览次数:1887   |  ★ 评论(0)

在终端运行如下命令:

ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"


执行过程为:


localhost:~ Star$ 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

==> Downloading and installing Homebrew...

remote: Counting objects: 3672, done.

remote: Compressing objects: 100% (3504/3504), done.

remote: Total 3672 (delta 38), reused 642 (delta 28), pack-reused 0

Receiving objects: 100% (3672/3672), 2.99 MiB | 15.00 KiB/s, done.

Resolving deltas: 100% (38/38), done.

From https://github.com/Homebrew/homebrew

 * [new branch]      master     -> origin/master

HEAD is now at 30ce20e yardopts: stop documenting compat codes

==> Installation successful!

==> Next steps

Run `brew help` to get started



提示安装成功,我们可以运行以下这个命令安装wget试试:

brew install wget


localhost:~ Star$ brew install wget

==> Installing wget dependency: openssl

==> Downloading https://homebrew.bintray.com/bottles/openssl-1.0.2d_1.yosemite.b

######################################################################## 100.0%

==> Pouring openssl-1.0.2d_1.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.


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.2d_1: 464 files, 18M

==> Installing wget

==> Downloading https://homebrew.bintray.com/bottles/wget-1.16.3.yosemite.bottle

######################################################################## 100.0%

==> Pouring wget-1.16.3.yosemite.bottle.tar.gz

  /usr/local/Cellar/wget/1.16.3: 9 files, 1.5M


请尊重他人的劳动果实,转载时务必注明出处! 请尊重他人的劳动果实,转载时务必注明出处!
转载请注明:文章转载自:桐星豆博客 [http://blog.txdou.com]
本文标题:【原创】MacOS10.10安装Homebrew
本文地址:http://blog.txdou.com/article110
分享到QQ空间 分享到腾讯朋友

  • 注意:“桐星豆博客”只会以“回复”的身份出现,不会以“咨询”的身份出现在留言或评论中,凡是以“咨询”的身份出现的留言或评论均为他人盗用!
  • 本站用以回复网友评论的唯一名称是“桐星豆博客”,除此外均无效,网友不得用此名进行相应文章的评论或回复!
  • 用户言论只代表其个人观点,不代表桐星豆博客的观点或立场!
  • 非诚勿扰,请友好如实的评论,杜绝谩骂、人格攻击等一切伤人言论,请严格遵循中华人民共和国法律法规!
  • 桐星豆博客拥有最终解释权,如有网友违规,本站将有权删除或屏蔽违规评论,情节严重者账户加入黑名单、永久封IP并报司法部门严惩!
  • 您一旦参与评论本站则默认为您已经同意以上条款,否则“非诚勿扰”,谢谢合作!

您的姓名或昵称: 选填
您的E-Mail地址: ☆必填--仅站长可见
您个人网站地址: 选填 ( 如果填写,请务必加上 http:// 或 https:// 等等 )
留言内容:

验证码: 点击重新生成验证码  [ ctrl + enter ]

CopyRight © 2009-2020 by 桐星豆 All Rights Reserved. ICP证:京ICP备20021364号