Updating mac os 10 2

So if you want to compile it, place it in # Enable dupe and install brew tap homebrew/dupes brew install homebrew/dupes/grep # Install the perl compatible regular expression library brew install pcre # Add the symlink to a place in $PATH ln -s /usr/local/Cellar/grep/2.14/bin/ggrep /usr/bin/ggrep # Add an alias alias grep="ggrep" # Verify you got it!

$ grep --version grep (GNU grep) 2.14 Copyright (C) 2012 Free Software Foundation, Inc.

My question is: what is the best way to update grep (or any similar program) for the Mac?

updating mac os 10 2-78

If you decide to go with this option, don't install it in /usr/bin.

If you do so, you will overwrite something needed by your OS.

Apple has released OS X 10.11.4 for Mac users running El Capitan.

The new version supports Live Photos in Messages app, password protected Notes, and includes compatibility support for i OS devices running i OS 9.3.

Some users may encounter a kernel panic on boot or during the update as well.

Users may be able to remedy a failed update process by rebooting the Mac into Safe Mode (hold down shift key during boot), and then downloading and running through the update again using the Combo Update for OS X 10.11.4.

Thanks in advance, Gregory As you said, you may use Fink, Mac Ports, etc...

But if you just want to update grep, you may want to grab the sources, and compile them.

This can often resolve installation errors and update failures.

Tags: , ,