From: Timothy Hunter Date: 2007-03-14T09:54:28+09:00 Subject: Re: I need to learn... 7stud 7stud wrote: > John Joyce wrote: > >>>> Umm, no I didn't. 7Stud 7Stud did. Just for the record I >>>> do know how to find the /usr/local directory, and >>>> those other things >>>> >>> You won't be able to find it on Mac OS 10.4! >>> >> You just create it if it isn't there. >> Very simple. >> This makes it easy to follow standard installations elsewhere as well. >> It also makes it real easy to delete everything if you want/need to. >> Just need to learn a little about Bash and your $PATH >> be careful, the $PATH in your shell can be loaded from multiple dot >> files. >> They are standardized. They do load in a particular order. If you >> have modified your $PATH already in one of the dot files, you may >> need to care where you modify it again. >> (again you do need some Unix skill or references if you don't have it) >> (again the reason I recommend the OReilly Unix in a Nutshell, they >> give a good and fast rundown on the Bash shell. The Linux in a >> Nutshell book is almost identical, but doesn't cover the differences >> among nixes) >> >> You will also be glad to have a little MySQL (or the database of your >> choice) under your belt or in your library. Sorry, but there are no >> easy magic bullets for everything. >> >> > > I'm about half way through the Wrox book "Beginning Unix", which has so > many omissions and errors, I would not recommend it to anyone--although > figuring out all the errors has taught me a lot. The problem I find is > that there are enough differences between Unix and OS 10.4.7, that I > never know whether a missing 'thing' in OS X should be created or > whether the Mac uses something else to do the same thing. For instance, > crond. That daemon isn't present on OS X 10.4.7. Should I start it? > No! Mac uses a new process called lauchd to control all processes in a > methodical fashion--instead of the adhoc patch on patch on patch mess > that Unix has evolved into(that from an article I found praising > launchd, which Apple made open source). > > So, when I can't find /usr/local, I wonder if there is some other > directory OS 10.4.7 looks to instead. I scoured google and I can't find > ANY mention of /usr/local not being present in OS 10.4.7. > > >> You just create it if it isn't there. >> Very simple. >> > > What permissions does it need? > > > $ cd /usr usr$ ls -l total 0 drwxr-xr-x 8 root wheel 272 Nov 18 16:50 X11R6 drwxr-xr-x 742 root wheel 25228 Feb 17 17:25 bin drwxr-xr-x 232 root wheel 7888 Mar 20 2006 include drwxr-xr-x 270 root wheel 9180 Mar 6 20:13 lib drwxr-xr-x 71 root wheel 2414 Oct 1 12:09 libexec drwxr-xr-x 8 root wheel 272 Dec 18 2005 local drwxr-xr-x 205 root wheel 6970 Nov 28 21:41 sbin drwxr-xr-x 48 root wheel 1632 Mar 19 2006 share drwxr-xr-x 3 root wheel 102 Mar 24 2005 standalone