最終更新:2020-06-02 (火) 16:16:25 (31d)  

Mac OS X/Homebrew
Top / Mac OS X / Homebrew

OS Xのためのパッケージマネージャー

http://brew.sh/index_ja.html

動作

  • Homebrewは独自のディレクトリーにパッケージをインストールし、それらを/usr/localにシンボリックリンクを張ります。

メモ

  • Macに最初から入っているものは含まない

インストール

  • Mac OS X/Homebrew/インストール
    /bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install.sh)"
    ==> This script will install:
    /usr/local/bin/brew
    /usr/local/share/doc/homebrew
    /usr/local/share/man/man1/brew.1
    /usr/local/share/zsh/site-functions/_brew
    /usr/local/etc/bash_completion.d/brew
    /usr/local/Homebrew
    ==> The following existing directories will be made group writable:
    /usr/local/bin
    /usr/local/etc
    /usr/local/include
    /usr/local/lib
    /usr/local/share
    /usr/local/share/doc
    /usr/local/share/man
    /usr/local/share/man/man1
    ==> The following existing directories will have their owner set to tokkyo:
    /usr/local/bin
    /usr/local/etc
    /usr/local/include
    /usr/local/lib
    /usr/local/share
    /usr/local/share/doc
    /usr/local/share/man
    /usr/local/share/man/man1
    ==> The following existing directories will have their group set to admin:
    /usr/local/bin
    /usr/local/etc
    /usr/local/include
    /usr/local/lib
    /usr/local/share
    /usr/local/share/doc
    /usr/local/share/man
    /usr/local/share/man/man1
    ==> The following new directories will be created:
    /usr/local/Cellar
    /usr/local/Homebrew
    /usr/local/Frameworks
    /usr/local/opt
    /usr/local/sbin
    /usr/local/share/zsh
    /usr/local/share/zsh/site-functions
    /usr/local/var
    ==> The Xcode Command Line Tools will be installed.
    
    Press RETURN to continue or any other key to abort

コマンド

パッケージのインストール

  • $ brew install wget

GitHubにある外部のFormulaセットを追加

  • $ brew tap homebrew/dupes

オプトアウト

  • brew analytics off

GitHub

リポジトリ

  • homebrew-science - Scientific formulae for the Homebrew package manager
  • homebrew-boneyard? - Archive of formulae removed from the Homebrew package manager
  • homebrew-completions? - Shell completion formulae for the Homebrew package manager
  • homebrew-versions? - Versioned formulae for the Homebrew package manager
  • homebrew-binary? - Precompiled binary formulae for the Homebrew package manager.
  • homebrew-dupes - System duplicate formulae for the Homebrew package manager
  • homebrew-nginx? - Community Nginx tap for custom modules
  • homebrew-php? - PHP formulae repo for Homebrew
  • homebrew-headonly? - Some foamy head is good in your brew, but you don't want a pour that is all head.
  • homebrew-python? - Python formulae for Homebrew
  • homebrew-games? - Game formulae for the Homebrew package manager
  • homebrew-x11? - Applications with hard X11 dependencies
  • homebrew-apache? - Apache formulae for the Homebrew package manager

コマンド

関連

参考