LoginSignup
5
5

More than 5 years have passed since last update.

Homebrewでパッケージ管理:Homebrewのインストール

Last updated at Posted at 2014-03-27

1.準備

1)Javaのインストール確認

2)Xcode:Command Line Tools のインストール確認

2.Homebrewインストール

ruby -e "$(curl -fsSL https://raw.github.com/mxcl/homebrew/go/install)"

3.インストール

ruby -e "$(curl -fsSL https://raw.github.com/mxcl/homebrew/go/install)"

4.動作チェック

brew doctor

5.問題1 

Warning: Unbrewed dylibs were found in /usr/local/lib.
Warning: Unbrewed .pc files were found in /usr/local/lib/pkgconfig.

sudo rm /usr/local/lib/libmacfuse_i32.2.dylib
sudo rm /usr/local/lib/libmacfuse_i64.2.dylib
sudo rm /usr/local/lib/libosxfuse_i32.2.dylib
sudo rm /usr/local/lib/libosxfuse_i64.2.dylib
sudo rm /usr/local/lib/libosxfuse_i32.la
sudo rm /usr/local/lib/libosxfuse_i64.la
sudo rm /usr/local/lib/pkgconfig/osxfuse.pc

6.問題2 

Warning: Broken symlinks were found. Remove them with brew prune:

brew prune

7.Command Line Toolのエラー対応

ライセンス同意

sudo xcodebuild -license

8.Homebrewのアップデート

brew update

9.Homebrewのパッケージアップグレード

brew upgrade
参考

5
5
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
5
5