这篇文章主要介绍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进行举报,并提供相关证据,一经查实,将立刻删除涉嫌侵权内容。