2009/12/4 Philipp Thomas email@example.com:
- Vincent Untz (firstname.lastname@example.org) [20091204 16:16]:
Hrm, I'm talking about libexecdir vs libdir, not libdir vs datadir :-)
Me too :) But I guess I should have phrased it better. But I think I'd better study the FHS again before I say more because as far as I remember, it says nothing about libexecdir.
FHS says: "/usr/lib includes object files, libraries, and ***internal binaries that are not intended to be executed directly by users or shell scripts***." That is the definition of libexecdir ("The directory for installing executable programs to be run by other programs rather than by users") from http://www.gnu.org/prep/standards/html_node/Directory-Variables.html
GNU says libexecdir should normally be $(exec_prefix)/libexec, that enters in contradiction with FHS. But without having any official reference I would say it's common to put "executable programs to be run by other programs rather than by users" inside $(libdir)/<package>/ And we have: $ rpm --eval=%_libexecdir /usr/lib RPM itself installs a lot of things in /usr/lib/rpm