Re: /usr/local/

From: Michael Tosch (eedmit_at_NO.eed.SPAM.ericsson.PLS.se)
Date: 03/29/04


Date: 29 Mar 2004 17:54:49 GMT

In article <8be6df4c.0403290744.58f14477@posting.google.com>, itguy_uk@hotmail.com (ITguy_uk) writes:
> I have just completed a clean install of Solaris 8 on a server which
> previously had Solaris 7 installed. While trying to install some
> third party software I noticed it needed to install a config file in
> /usr/local/<appname>. When I looked under /usr/ I was unable to find
> the /usr/local directory. I have now created the directory as I have
> since found the application has this config file location hard coded
> into the product. I have looked on the various Solaris servers we
> have here and they all have /usr/local.
>
> My question is why this directory is not present on a clean install.
> Is it because this location is not created until third party products
> are installed in this location by the user or an install, or have I
> missed something ie this location was moved elsewhere in later
> versions of Solaris? I am concerned I may not be aware of the reason
> for this directory being missing and it will trip me up later.

There is no standard place for software installations in Unix.
In the early days /usr was preferred, then /usr/lib.
The Public Domain preferred /usr/local.

/usr/local has never been part of Solaris.
Sun Solaris has preferred /opt in the beginning.
Today Sun has rediscovered /usr, and now preferres directories
like /usr/sfw.

Linux (a child of the Public Domain) has decided for /usr/local,
so it is most easy to go for /usr/local on Sun Solaris, too.

Software packages from
http://sunfreeware.com
install in /usr/local.
The first package will create the /usr/local directory.

-- 
Michael Tosch
IT Specialist
HP Managed Services Germany
Phone +49 2407 575 313
Mail: michael.tosch@hp.com


Relevant Pages

  • Summary: ufsdump from a remote server via ssh (Prng not seeded)
    ... me the patch), Duncan & Ric to minimize overlapping answers: ... a shell script that can install the patch live. ... I was able to ssh into this Solaris 8 server but from this ...
    (SunManagers)
  • Re: using an os x laptop as a Solaris install server
    ... Are you using Toast to burn the ISO file or MacOS X's Disk Utility? ... from other posts here is to do a live upgrade from Solaris 10. ... I've seen people shoehorn and cajole Linux into being a Jumpstart server ... that I've used to install sol10u4 and sol10u6 on a couple ...
    (comp.unix.solaris)
  • Solaris 8 to Linux dump compatibility question (Nick Pettefar)
    ... Solaris 8 to Linux dump compatibility question ... FOLLOWUP: Netra X1: How to break the LOM prompt in order to ... patches not available to customers w/o sunsolve accounts... ... After this you will need to write a finish script that will install the same ...
    (SunManagers)
  • Re: CD not accepted when installing Solaris 10
    ... already have a virtual solaris installation on my PC with MS Virtual PC ... A jumpstart server is a Solaris system that is set up to install Solaris on other systems via the network. ...
    (comp.unix.solaris)
  • Re: Hardrive slicing help
    ... I have two internal 73 gb hdd on a V240 server. ... When I installed Solaris 8 on my PC it never asked me details on how ... The normal Solaris install on a bare disk (Solaris not installed, ... You need a swap partition at least as big as your memory ...
    (comp.unix.solaris)