I have recently been installing several projects from the Apache Software Foundation. In attempting to further setup my development environment, I have been navigating the project directory structures to gain a better understanding of the project as well as set my environment variables.
I am using Homebrew for my installations.
I notice there are often two subdirectories;
libexec. I also notice that
libexec contains its own
bin subdirectory. My questions are as follows:
- What are the differences between
libexecsub-directories? What about
- Given a project with such a structure, what is the best path for the project's
- Bonus: What are the common best practices involved in setting
$PATH, setting the
~/.profilesfor a new installation?
I notice that according to the Filesystem Hierarchy Standard, /bin is purposed for essential user command binaries. However, I find no reference in the document to /libexec only lib.