D&C GLug - Home Page

[ Date Index ] [ Thread Index ] [ <= Previous by date / thread ] [ Next by date / thread => ]

Re: [LUG] filesystems and packaging

 

On Sat, 26 Dec 2009 11:31:30 +0000
Neil Williams <linux@xxxxxxxxxxxxxx> wrote:

> On Sat, 26 Dec 2009 10:51:18 +0000 (GMT)
> Peter Lloyd-Jones <peter@xxxxxxxxxxxxxxxxxxxx> wrote:
> 
> > As you know I am a model railroad enthusiast.  Currently we tend to
> > let the user store the programme Java Model Railroad Interface in
> > his home directory.

Program data should not be under a user home if other users are going
to need to run it - you, as upstream, cannot make that decision, so you
have to assume that the package will be multi-user in order to have the
package working in standard distributions.

Installations in a user home directory can be retained for testing or
to have a stable version in /usr and a debug/unstable version somewhere
else. (Most other packages would put that one into /usr/local and your
package should also support that usage.)

For more information on how things should be packaged for the main
distributions, most have their own docs. The Debian ones are at:

http://www.uk.debian.org/devel/

Also, find a similar package and follow that as an example - at least
as a starting point.

Generally, as an upstream, if you follow the filesystem rules of
Debian, the package will fit in with all the other distros too.

-- 


Neil Williams
=============
http://www.data-freedom.org/
http://www.linux.codehelp.co.uk/
http://e-mail.is-not-s.ms/

Attachment: pgpcQvETMzxuQ.pgp
Description: PGP signature

-- 
The Mailing List for the Devon & Cornwall LUG
http://mailman.dclug.org.uk/listinfo/list
FAQ: http://www.dcglug.org.uk/linux_adm/list-faq.html