Wednesday, September 26, 2012

HomeBrew installation in Mac OSX. Missing package manager


This is the missing package manager in Mac. It downloads, and installs ruby, gradle, scala, sbt, etc with few command line. I was really giddy to make this discovery couple of days ago while trying to learn Scala via coursera.

To install brew:
1. Open terminal, and run the following command.
2.  ruby -e "$(curl -fsSkL raw.github.com/mxcl/homebrew/go)"


this will download brew into /usr/local/Cellar

In this location it will contain all the other downloads.


 or use
- mkdir homebrew && curl -L https://github.com/mxcl/homebrew/tarball/master | tar xz --strip 1 -C homebrew

you are good to go, and run
- brew ruby install
- brew gradle install

This was fascinating for me as it removed all the steps to download zipped file or tar file, setting up necessary folder, PATH variables, and repeating the process to get new packages.





Tracking Knowledge & Java postings.

I want to start a blog that way I can track my learning, and it can be a go to place for myself as well as others for Java/ J2EE related questions. You are welcome to comment, and figure out a way a better way to do things. My language is not polished, and I am hoping to make it better through this avenue. I will try to post everyday. I will post some good links as well as what I learnt throughout the day.