lua-users home
lua-l archive

Re: Installing Lua on macOS in order to update Lua.

[Date Prev][Date Next][Thread Prev][Thread Next] [Date Index] [Thread Index]


Howdy,
Here is a long listing of my computer

Glenns-iMac:usr trav$ ll
total 0
drwxr-xr-x 976 root wheel 31232 Feb 20 05:37 bin
drwxr-xr-x 291 root wheel 9312 Jan 30 14:33 lib
drwxr-xr-x 247 root wheel 7904 Feb 20 05:37 sbin
drwxr-xr-x 234 root wheel 7488 Jan 30 14:33 libexec
drwxr-xr-x 45 root wheel 1440 Dec 7 09:31 share
drwxr-xr-x 8 root wheel 256 Jan 19 09:40 local
drwxr-xr-x 5 root wheel 160 Oct 3 00:48 standalone
Glenns-iMac:usr trav$


Seeing as how /usr will be installed there, I have to use sudo, else nothing gets put in there by the Install command.


On Feb 23, 2018, at 3:23 PM, Sean Conner <sean@conman.org> wrote:

It was thus said that the Great Glenn Travis once stated:
No Sir, nothing like that. I have run afoul of the permissions error
before so I understand what you are saying. They were just not there, and
when I do see them, I know that I have to go the sudo route.

Interesting. I have two Macs I use (one personal, one for work). On my
personal one, "/usr/local" is owned by root, so I would get an error trying
to install Lua. On the work Mac, however, "/usr/local" is owned by me
(except for "/usr/local/man" for some reason). The only thing I can think
of is that I have used homebrew on the work Mac, but not on my personal Mac
(I really don't do development on the home Mac).

But I suspect that "/usr/local" is owned by you (the non-root account you
use).

-spc



AltStyle によって変換されたページ (->オリジナル) /