install apt-get mac code example
Example 1: install 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.
Example 2: apt-get install
# first make sure all systems are up to date (raspberry pi)
sudo apt-get update && sudo apt-get upgrade
# install the desired package
sudo apt-get install <package name> or <download link>