As the doctor gone rogue

July 3, 2014

Homebrew

Filed under: bash, miscellaneous — Tags: , , , — hypotheses @ 5:50 am

I bought a MacBook pro for work because of the similarity between Linux terminal and Mac terminal. However, if this is the only justification for buying a macbook, I should have thought again.

Superficially, OsX and Linux might look similar. However, the libraries, packages, machinery inside is very different. For example, there is no “wget” on Mac. Then, how can I download anything through a terminal. One solution after probing around that I came up with a while ago was to use “homebrew

I’m not going to cover the installation of homebrew here, but

If you are behind a proxy server, to install wget


$ sudo http_proxy=http://proxyUser:proxyPassword@proxyServer:port brew install wget

You can find more detail about using homebrew at https://github.com/Homebrew/homebrew/blob/master/Library/Contributions/manpages/brew.1.md

 

Blog at WordPress.com.