This, in turn, is what allows you to install anything else without elevating credentials. In order to create /usr/local Homebrew needs temporary admin credentials to create the directory and assign ownership. ![]() The reason for this insistence is that /usr/local is precisely where POSIX recommends that stuff like this gets installed. Most if not all of these packages are pre-compiled and linked expecting to live in /usr/local. In fact, even if you forced it to install somewhere else, you are likely to break dependencies when you use brew install to install packages. The reason is that Homebrew strongly insists on installing packages into /usr/local. Make sure the bin directory, YOUR_HOME + /usr/local/bin is on your $PATH. bash_profile, I set (I'm not positive this is important, pretty sure): export HOMEBREW_PREFIX=/The/path/to/YOUR_HOME/usr/local Create the YOUR_HOME/usr/local directory. ![]() Äownload that, set YOUR_HOME in the script to the absolute path. I modified the install script to not use sudo and to use a directory of your choice.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |