Hi!!
Thanks a lot.
I will go through the document.
Thanks & Regards
Rekha
-----Original Message-----
From: Malcolm Tredinnick [mailto:malcolm@commsecure.com.au]
Sent: Thursday, December 13, 2001 3:41 AM
To: rpm-list@redhat.com
Subject: Re: Directory structure to be used
On Wed, Dec 12, 2001 at 11:32:48AM +0530, Rekha Deshmukh wrote:
> I have successfully created an rpm for my product. But I am new to rpm
> as well as linux. As I am not that much aware of the filesystems and its
> structure on linux, I would like to know whether there is a unified
> directory structure followed by the developers to install the packages.
> As in the case of windows packages the default path is program
> files/...is there any structure followed in linux? What I read in
> max-rpm document I only know the documentation is installed in
> /usr/doc/package name directory by default and single program executable
Well, more normal is /usr/share/doc/<package-name>. :-)
> in /usr/bin directory. But if I have a package which has multiple
> executables, libraries etc, which users will use for their development,
> where do you recommend the defualt path should be?
> Please guide me on this.
Putting multiple binaries into the one directory is not bad.
Anyway, the definitive reference for this sort of stuff is the
Filesystem Hierarchy Standard. See http://www.pathname.com/fhs/ for
details about that (it's a big document, though).
Unfortunately, at present, most distributions install some things in
slightly different places from the FHS recommendations and other
distributions (the FHS and the entire Linux Standards Base project is
designed to overcome such cross-distribution headaches). So, in
practice, you can use the FHS as a guide, but you will need to check it
against the target distribution you are making the packages for.
Cheers,
Malcolm
--
Preserve wildlife. Pickle a duck.
_______________________________________________
Rpm-list mailing list
Rpm-list@redhat.com
https://listman.redhat.com/mailman/listinfo/rpm-list