mac系統使用Homebrew安裝軟體

來源:互聯網
上載者:User

什麼是Homebrew?
Homebrew is the easiest and most flexible way to install the UNIX tools Apple didn’t include with OS X.
我們能夠通過終端方便的使用它安裝管理蘋果沒有內建的UNIX相關工具軟體。
如何安裝?
參考GitHub地址:https://github.com/mxcl/homebrew/wiki/installation
建議安裝之前刪除已經安裝的Fink和Macports。
Homebrew使用ruby指令碼,Mac OS X已經內建ruby。
ruby -e "$(curl -fsSL https://raw.github.com/gist/323731)"
如何使用?
更新 formulae,保證每次安裝的檔案源是最新的。
brew update
查看尋找自己需要的軟體,例如想尋找jpeg相關的軟體。
brew search jpeg
出來結果有三個
jpeg jpegoptim openjpeg
然後安裝自己需要的軟體
brew install jpegoptim
Homebrew更新快速,操作簡單安裝方便,建議大家使用。如果formulae中的原始碼下載地址被天朝牆掉,可以直接修改rb指令碼中的原始碼下載地址。

聯繫我們

該頁面正文內容均來源於網絡整理,並不代表阿里雲官方的觀點,該頁面所提到的產品和服務也與阿里云無關,如果該頁面內容對您造成了困擾,歡迎寫郵件給我們,收到郵件我們將在5個工作日內處理。

如果您發現本社區中有涉嫌抄襲的內容,歡迎發送郵件至: info-contact@alibabacloud.com 進行舉報並提供相關證據,工作人員會在 5 個工作天內聯絡您,一經查實,本站將立刻刪除涉嫌侵權內容。

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.