Re: Library with "demos", where should demos go?
On Mon, Dec 09, 2002 at 11:19:26PM -0500, Duncan Findlay wrote:
> On Mon, Dec 09, 2002 at 09:51:29PM -0500, Matt Zimmerman wrote:
> > > On Mon, Dec 09, 2002 at 05:06:14PM -0500, Matt Zimmerman wrote:
> > > > The source is fine there, but binaries must not go in /usr/share. If
> > > > the demos are useful in binary form, they should go in /usr/bin. If
> > > > they are only useful as programming examples, they should ship in source
> > > > form only.
> > >
> > > Wouldn't it be more problematic than necassary in case the library changes
> > > so-name? You'd have to make the different version conflict then, as they
> > > contain the same files in /usr/bin.
> > Only if they ship in the shared library package (which they shouldn't).
> Regardless, wouldn't /usr/lib/<package> also be a good place? (also
> avoids cluttering up the namespace..)
As I said above, if they are useful (to users, directly), they belong in
/usr/bin. The name doesn't enter into it, unless the programs are poorly
named, in which case that should be resolved in the usual ways. /usr/lib is
for programs which are not meant to be executed by users.