Installing Homebrew is simple. Run the following command which is listed on the Homebrew homepage (not as root):
This will install the macOS Command Line Tools from Xcode as well as create the following directories (if they’re not already present):
/usr/bin/ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"
brew install wget
This one is nice because the dependencies that get installed. And you get the latest versions. Let’s look at the version for wget:
Next, let’s use brew to search for something: radius
brew search radius
You’ll see that there’s one item on the local taps: freeradius-server
Let’s install that:
brew install freeradius-serverNow, you’ll find that the bits that make freeradius work are located in /usr/local/Cellar/freeradius-server/3.0.16. If you later need to upgrade that package, use the upgrade verb.
brew upgrade freeradius-server
And finally, to update Homebrew to the latest version, run the update verb: