您好,登錄后才能下訂單哦!
這篇文章主要介紹Linux下如何安裝brew,文中介紹的非常詳細,具有一定的參考價值,感興趣的小伙伴們一定要看完!
Linuxbrew的首頁是,安裝有個ruby腳本。
ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Linuxbrew/install/master/install)"
我用這個沒有跑成功… 不就是ruby腳本嗎,我干脆自己clone一份。
git clone https://github.com/Linuxbrew/brew.git ~/.linuxbrew
還得把homebrew-core克隆下來,里面有一些核心的軟件安裝formula,比如gcc。
git clone https://github.com/Linuxbrew/homebrew-core ~/.linuxbrew/Library/Taps/homebrew
配置一下bash_profile文件
export PATH="$HOME/.linuxbrew/bin:$PATH"export MANPATH="$HOME/.linuxbrew/share/man:$MANPATH"export INFOPATH="$HOME/.linuxbrew/share/info:$INFOPATH"
然后source一下就可以用了。
裝一個oracle的jdk brew install jdk
==> Downloading from http://download.oracle.com/otn-pub/java/jdk/8u112-b15/jdk-8u112-linux-x64.tar.gz?AuthParam=1477706348_b0b597b7531f263567737994182c7cd5 download.oracle.com:80 ... OK######################################################################## 100.0%==> CaveatsBy installing and using JDK you agree to theOracle Binary Code License Agreement for the Java SE Platform Products and JavaFXhttp://www.oracle.com/technetwork/java/javase/terms/license/index.html==> Summary /home/jash/.linuxbrew/Cellar/jdk/1.8.0-112: 1,628 files, 353.7M, built in 9 minutes 55 seconds
我還找到一個倉庫里面有很多開發工具,比如smartgit, idea等等軟件https://github.com/athrunsun/homebrew-linuxbinary
brew tap athrunsun/linuxbinary
蹭著同事的vpn,把要裝的都給裝了一個遍,哈哈哈。
brew install smartgitbrew install intellij-idea-cebrew install lanternbrew install proxychains-ngbrew install skypebrew install telegrambrew install android-studiobrew install pycharm-cebrew install sublime-textbrew install telegrambrew install unetbootinbrew install shadowsocks-go-localbrew install smart-synchronize
可惜沒有看到leanote、atom、firefox等軟件。
以上是“Linux下如何安裝brew”這篇文章的所有內容,感謝各位的閱讀!希望分享的內容對大家有幫助,更多相關知識,歡迎關注億速云行業資訊頻道!
免責聲明:本站發布的內容(圖片、視頻和文字)以原創、轉載和分享為主,文章觀點不代表本網站立場,如果涉及侵權請聯系站長郵箱:is@yisu.com進行舉報,并提供相關證據,一經查實,將立刻刪除涉嫌侵權內容。