/usr Directories Flashcards
What does /usr/bin contain?
Most of the executable commands on the system. There must be no subdirectores in /usr/bin
What does /usr stand for?
Unix System Resources
What does /usr/include contain?
General use include files for the C programming language.
What does /usr/lib contain?
Libraries for programming and packages. Applications may have a single subdirectory under /usr/lib. Sometimes includes binaries not intended to be executed directly by users or shell scripts
What does /usr/libexec contain?
Optional. Includes binaries not intended to be executed directly by users or shell scripts
What does /usr/local contain?
For use when installing software locally. Needs to be safe from being overwritten when system software is updated. Should have the following directories:
- bin
- etc
- games
- include
- lib
- man
- sbin
- share
- src
What does /usr/sbin contain?
Any non-essential binaries used exclusively by the system admin. Ultimately on most modern systems this is where /sbin is a symlink to.
What does /usr/share contain?
Architecture independent data. This can be things like man pages, color management, word lists in dict, XML. If its not something that depends on the arch it can go in there.
What does /usr/shource contain?
Optional. Source Code (for reference purposes.)