[Fedora-packaging] Where to install examples to?

Ralf Corsepius rc040203 at freenet.de
Sun Jul 10 12:01:01 UTC 2005


On Fri, 2005-07-08 at 18:04 +0200, Michael Schwendt wrote:
> On Fri, 08 Jul 2005 09:38:17 +0200, Ralf Corsepius wrote:
> 
> > Hi,
> > 
> > I am observing packages in FE installing examples/demos to /usr/bin.
> > 
> > Do people agree upon this to be good packaging practice or not?
> > 
> > 
> > IMO, it is not, because 
> > * This gradually fills up /usr/bin.
> > * Many such examples/demos are semi-functional or less and have never
> > been designed to be used by the public.
> > 
> > I'd recommend to install examples/demos to either
> > /usr/lib/<package>/
> > or even to 
> > /usr/share/doc/<package>
> > 
> > Opinions, comments?
> 
> Certainly _not_ /usr/share, as that one is for architecture-independent
> data.
Right, this wouldn't be an appropriate place for binaries, but it would
be for "examples/demos" provided as source code.

> Reasonable:
> 
>  * use a separate -demos package for them
> 
>  * include them in -devel package as source, so developers can
>    build them and examine them
> 
>  * don't package them if they are not built by default and
>    depending on what kind of demos/example they are

ACK.

Ralf





More information about the Fedora-packaging mailing list