Do not run Homebrew's brew under sudo

This can cause permission problems otherwise.

The privilege elevation is not required for ~99% of users, as Homebrew's own advice is to install Formulas without `sudo` and therefore most people follow it: https://github.com/Homebrew/brew/blob/master/share/doc/homebrew/FAQ.md#why-does-homebrew-say-sudo-is-bad-
This commit is contained in:
Uwe Dauernheim
2016-06-17 09:50:22 +09:00
committed by GitHub
parent 791b298b6d
commit e03bd77be8

View File

@@ -159,7 +159,7 @@ sudo apt-get install curl libsnappy-dev autoconf automake libtool pkg-config
**On Mac OSX** **On Mac OSX**
``` ```
sudo brew install snappy autoconf automake libtool pkg-config brew install snappy autoconf automake libtool pkg-config
``` ```
Then to install the C library: Then to install the C library: