Prerequisites:
- A computer with a 64 bit processor
- 4 GBs of RAM or more
- A Linux, preferably Debian based OS. I like Xbuntu and Linux Mint.
- Time, it takes me about an 1.5 hours, although ccache will drop that to 50 min
Step One: Installing Java
- Go to http://www.oracle.com/technetwork/java/javase/downloads/index.html and download the latest Java 6, right now it is Java SE 6u45 select the linux .bin one
- Open a terminal and navigate to where the file was downloaded, then run the following one at a time:
chmod +x jdk-6u45-linux-x64.bin
./jdk-6u45-linux-x64.bin
sudo mkdir /usr/lib/jvm
sudo mv jdk1.6.0_45 /usr/lib/jvm
wget http://webupd8.googlecode.com/files/update-java-0.5b
chmod +x update-java-0.5b
sudo ./update-java-0.5b
- Select jdk-6u45 and hit OK
Step Three: Initializing the Repo
$ mkdir ~/bin $ PATH=~/bin:$PATH $ curl https://dl-ssl.google.com/dl/googlesource/git-repo/repo > ~/bin/repo $ chmod a+x ~/bin/repo
No comments:
Post a Comment