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

FW: Directory structure to be used



Title: Directory structure to be used
I read FHS and I use (RedHat 7.2) for my RPM:
/etc/<my_program>  - config files
/usr/bin - scripts to run the program
/usr/local/<my_program> - all other (binaries,db scripts etc..) (*)
/usr/lib/<my_program> - libraries
/usr/share/doc/<my_program> - doc files
/var/log/<my_program>  - logs
 
(*) - I'm not sure it should be there..
 
Anyone has any comments?
 
Hope it helps (somehow)
Bartosz
 
**********************************************************************
  Bartosz Placzek
  Programista
  e-mail: bartosz.placzek@tpg.pl
  tel. (+48 12) 424-14-45

  The Polished Group SA
  ul. Emaus 5, 30-201 Krakow, Poland
  tel. (+48 12) 424-14-00
  fax. (+48 12) 424 14 01
  http://www.tpg.pl
 

 
-----Original Message-----
From: rpm-list-admin@redhat.com [mailto:rpm-list-admin@redhat.com]On Behalf Of Rekha Deshmukh
Sent: Wednesday, December 12, 2001 7:03 AM
To: rpm-list@redhat.com
Subject: Directory structure to be used

Hi All!

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 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.

Thanks & Regards
Rekha Bhintade
KPIT Infosystems Ltd., India
Tel. (O) 5382358 (333)
       (R) 5386069
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
 Free download and free European support of GNU tool
     chain (GNUSH v0101) for Hitachi's SH Series
Read more at http://www.kpit.com/products/support.htm
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~



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