Should local software go in /opt or /opt/local?

Should local software go in /opt or /opt/local?

Post by Peter Stee » Sat, 09 Oct 1993 20:39:05



I'll be soon moving from 4.1.3 to Solaris 2.x and I'm debating
on how to use the new /opt directory that Solaris has defined.
What I'd like to do is treat this as a direct replacement for
/usr/local, and have /opt/bin instead of /usr/local/bin, /opt/etc
instead of /usr/local/etc, and so on. Is this the intent of /opt
or should I still have a /usr/local or maybe a /opt/local?
--

Acadia Univ., Wolfville, NS, Canada B0P 1X0  902-542-2201  Fax: 902-542-4364
 
 
 

Should local software go in /opt or /opt/local?

Post by Pete Clin » Sat, 09 Oct 1993 22:15:54


: I'll be soon moving from 4.1.3 to Solaris 2.x and I'm debating
: on how to use the new /opt directory that Solaris has defined.
: What I'd like to do is treat this as a direct replacement for
: /usr/local, and have /opt/bin instead of /usr/local/bin, /opt/etc
: instead of /usr/local/etc, and so on. Is this the intent of /opt
: or should I still have a /usr/local or maybe a /opt/local?

The point of /opt is for mounting SVR4 software packages, the rationale
being that the OS provides tools for installing and removing modular
packages and allowing easy vetting of just what's on the system.
For software that doesn't (yet) come in packages, you have to do something
different, and it's good to have a strategy in advance, principally so that
when you configure the disk there'll be lots of spare room for future s/w.
As anything you get from Sun (like answerbooks, unbundled freebies like
Wabi and SearchIt) will go in opt, I figured I'd put *everything* new in
the /opt filesystem and leave it lots of space rather than configure a
monster size /usr, and created /opt/local for non-packaged software.  Any
further subdivisions will depend on what you actually put in: mine has
subdirectories for visilog and vni, and they set up their own trees
underneath.  Seems to have worked so far...

Pete.
--
Peter Clinch                            University of Dundee
phone 44 382 60111 x 2050               Department of Medical Physics
fax   44 382 632970                     Ninewells Hospital


 
 
 

Should local software go in /opt or /opt/local?

Post by Pat Monar » Tue, 19 Oct 1993 22:49:48




>The point of /opt is for mounting SVR4 software packages, the rationale

i would make /opt be an automount point. that way i can place packages
anywhere and just update the map. is anyone doing this? does it seem
correct to you?
 
 
 

1. /usr/bin, /usr/local/bin, /sbin or /opt/bin, /var/opt/bin - I'm confused.

Hi all,

All these directories are for executable binary, right ?  How does one
decide which executable binary goes to which directory ?

/usr/bin : For what ?
/usr/local/bin:  for what ?
/sbin : ??
/opt/bin : ??
/var/opt/bin : ??

Is there any other /bin beside those above ?

Thanks

2. trouble with Logitech serial Mouse

3. What is Sun's preferred directory: /usr/local/bin or /opt/local ?

4. HACMP.

5. /usr/local and /opt

6. Where to find package 'bos.net.ppp' ?

7. /opt and /usr/local under Solaris...

8. MICROFOCUS COBOL Programmer/Analysts Needed

9. Do I need /usr/local, /opt, /tmp and /var partitions?

10. /opt verus /usr/local

11. /usr/local, /opt, and NFS

12. Newbie: Difference between /opt and /usr/local?

13. how to move a package from /opt to /OPT?