SlackwareThis Forum is for the discussion of Slackware Linux.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
While I assume the location for these files was in part decided by the package builder, can anyone shed light on general use of the various /usr directories?
PS Bear in mind that Linux distributions (including Slackware) sometimes may deviate from the FHS, that can be considered as a guideline more than a strict specification. This is especially true below the top level directories and usage vary upon distribution. For instance, documentation sub directories often are stored in /usr/share/doc in many distributions but in /usr/doc in Slackware and derivatives.
Last edited by Didier Spaier; 04-27-2017 at 12:02 AM.
negatratoron, this is an eleven year old thread that you stumbled across. There are many bad things about that, and one of them is that you looked at a 13 year old standard that was superseded long ago.
/usr/libexec includes internal binaries that are not intended to be executed directly by users or shell scripts. Applications may use a single subdirectory under /usr/libexec.
Applications which use /usr/libexec in this way must not also use /usr/lib to store internal binaries, though they may use /usr/lib for the other purposes documented here.
Rationale
Some previous versions of this document did not support /usr/libexec, despite it being standard practice in a number of environments. [26] To accomodate this restriction, it became common practice to use /usr/lib instead. Either practice is now acceptable, but each application must choose one way or the other to organize itself.
[26] See, for example, the "GNU Coding Standards" from the Free Software Foundation.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.