Install Linuxbrew

The home page of Linuxbrew is linuxbrew.sh

Method 1: Install a Ruby script.

ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Linuxbrew/install/master/install)"
Copy the code

Method 2: Clone code.

Git clone

git clone https://github.com/Linuxbrew/brew.git ~/.linuxbrew

git clone https://github.com/Linuxbrew/homebrew-core ~/.linuxbrew/Library/Taps/homebrew
Copy the code

Configure the bash_profile file

export PATH="$HOME/.linuxbrew/bin:$PATH"
export MANPATH="$HOME/.linuxbrew/share/man:$MANPATH"
export INFOPATH="$HOME/.linuxbrew/share/info:$INFOPATH"
Copy the code

Then source is ready to use.

Install the software

Brew install JDK for Oracle

==> Downloading from http://download.oracle.com/otn-pub/java/jdk/8u112-b15/jdk-8u112-linux-x64.tar.gz?AuthParam=1477706348_b0b597b7531f263567 737994182c7cd5 download.oracle.com:80 ... OK # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # = = > 100.0% Caveats By installing and using JDK you agree to the Oracle Binary Code License Agreement for the Java SE Platform Products and JavaFX http://www.oracle.com/technetwork/java/javase/terms/license/index.html ==> Summary / home/jash /. Linuxbrew/Cellar/JDK / 1.8.0 comes with - 112:1628 files, 353.7 M, built in nine minutes and 55 secondsCopy the code

I also found a warehouse there are many development tools, such as smartgit, idea and so on software at https://github.com/athrunsun/homebrew-linuxbinary

brew tap athrunsun/linuxbinary
Copy the code