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

Re: Debian standard file locations ? When compiling new aplications ..



Hello

Gregory Machin (<greg@linuxpro.co.za>) wrote:

> when compling a new aplication gcc ./configure allows you to use the
> following to configure the location of relavent files, what paths
> should i specify for debian so that i may keep with the standards ..
> 
> Fine tuning of the installation directories:
>   --bindir=DIR           user executables [EPREFIX/bin]
>   --sbindir=DIR          system admin executables [EPREFIX/sbin]
>   --libexecdir=DIR       program executables [EPREFIX/libexec]
>   --datadir=DIR          read-only architecture-independent data
>   [PREFIX/share]
>   --sysconfdir=DIR       read-only single-machine data [PREFIX/etc]
>   --sharedstatedir=DIR   modifiable architecture-independent data
>   [PREFIX/com]
>   --localstatedir=DIR    modifiable single-machine data [PREFIX/var]
>   --libdir=DIR           object code libraries [EPREFIX/lib]
>   --includedir=DIR       C header files [PREFIX/include]
>   --oldincludedir=DIR    C header files for non-gcc [/usr/include]
>   --infodir=DIR          info documentation [PREFIX/info]
>   --mandir=DIR           man documentation [PREFIX/man]

If you compile software on your own, it might probably be a good idea to
set PREFIX to /usr/local, not /usr. This way you won't get conflicts
with software installed by the package management, which is installed
to /usr. The predefined settings above look quite reasonable to me.

best regards
        Andreas Janssen

-- 
Andreas Janssen
andreas.janssen@bigfoot.com
PGP-Key-ID: 0xDC801674
Registered Linux User #267976



Reply to: