/usr/share vs /usr/libexec

Miloslav Trmač mitr at redhat.com
Wed Apr 22 14:06:25 UTC 2015


Hello,
> I confess I've only seen /usr/libexec used for add-on utilities, but
> now I'm curious.
> 
> Does it make more sense for these sort of scripts to live in
> /usr/libexec, or in /usr/share?

/usr/libexec.  From (info standards):

> `libexecdir'
>     The directory for installing executable programs to be run by other
>     programs rather than by users. 

vs.
> Data files _used by the program during its execution_
(emphasis mine) starting the section that talks about */share
    Mirek


More information about the devel mailing list