/usr/local missing

On my macbook, the folder /local doesn't seem to be there. Yesterday I did a fresh install of OS X, and now /usr/local is not there. I need it to create part of a toolchain for a project, so anyone know where it went, or if I could just create a directory called local?

MacBook, Mac OS X (10.4.7)

Posted on Aug 27, 2006 1:11 PM

Reply
4 replies

Aug 27, 2006 2:50 PM in response to Kabren Levinson

Hi Kabren,
I think the installer used to create such empty directories but maybe it doesn't now. Since they are empty, you can make them yourself. However, I would think that most of the installers that use that install root by default will create the directories for you. If you have an app that doesn't or just want to create the directories yourself, you could do it with a command like:

sudo mkdir /usr/local /usr/local/bin /usr/local/etc /usr/local/include /usr/local/info /usr/local/lib /usr/local/man /usr/local/sbin /usr/local/share /usr/local/share/man

--
Gary
~~~~
I saw a subliminal advertising executive, but only for a
second.
-- Steven Wright

Aug 28, 2006 5:12 AM in response to Kabren Levinson

Kabren,

What Gary suspects is true. Prior to Tiger the /usr/local directory was created during installation of the OS. But beginning with Tiger it is not. I'm not sure why this change was made but I've run into at least one software installer that failed on Tiger because it expected /usr/local to already be present.

As the other posts have said you can simply create the directory yourself. If you run into an installer that's failing because /usr/local is not present you may want to contact the s/w author and let them know they need to modify their installer to accomodate Tiger systems.

Steve

This thread has been closed by the system or the community team. You may vote for any posts you find helpful, or search the Community for additional answers.

/usr/local missing

Welcome to Apple Support Community
A forum where Apple customers help each other with their products. Get started with your Apple Account.