If I were you, I would probably look into installing and using Homebrew (http://brew.sh).