Installer APT-get Mac

If you want the equivalent of apt-get or yum on Mac OS X, you have two 
choices.

1 - Homebrew: http://brew.sh
2 - Macports: http://www.macports.org

You can use "brew install PACKAGE_NAME" or "port install PACKAGE_NAME"
to install the package available.
GutoTrosla