Re: Confusion regarding file location

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Tue, Jun 01, 2010 at 07:01:00PM +0200, Ralf Corsepius wrote:
> On 06/01/2010 06:44 PM, Rangeen Basu wrote:
> > 2010/6/1 Toshio Kuratomi<a.badger@xxxxxxxxx>:
> >> On Tue, Jun 01, 2010 at 09:36:51PM +0530, Rangeen Basu wrote:
> >
> >> Since it sounds like none of this is arch specific, probably
> >> %{_datadir}/gnumed-server is where you want them.  However, I have
> >
> > Are you suggesting that I put the .py files, .sh files and .conf files
> > in the %{_datadir}/gnumed-server together?

Yes but...

> This would be too simplistic, because a file's installation location 
> doesn't actuallly depend on the language it is written in, but more on 
> the "role" a file has.
> 
> That said, you have distinguish public programs/libraries, internal 
> programs/libraries, data files, config files and others (c.f. the FHS 
> for details).
> 
as Ralf says, it depends on the role that the files play.

I think Debian is wrong to put the things they do into /var/lib.  If the
files aren't modified after package installation, then they go into
/usr/share (If they are modified, then they are correct to put them into
/var/lib).  However, Debian does put a lot of files into /usr/bin/ and
/usr/sbin/.  Those file locations look more or less correct to me.  One
thing to watch out for with regard to programs is that debian doesn't have
a spot for internal programs and libraries (usually they use
/usr/lib/PACKAGE/internal-program for those but not always) -- we do have
a spot: /usr/libexec/PACKAGE.

-Toshio

Attachment: pgpo9vtRpfUoj.pgp
Description: PGP signature

--
packaging mailing list
packaging@xxxxxxxxxxxxxxxxxxxxxxx
https://admin.fedoraproject.org/mailman/listinfo/packaging

[Index of Archives]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite Forum]     [KDE Users]

  Powered by Linux