[Fedora-packaging] Where to install examples to?

Michael Schwendt bugs.michael at gmx.net
Fri Jul 8 16:04:04 UTC 2005

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


 * 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

Michael Schwendt <mschwendt at users.sf.net>
Fedora Core release 5 (Development) - Linux 2.6.12-1.1422_FC5
loadavg: 2.18 1.74 1.49

More information about the Fedora-packaging mailing list