I'm trying to understand the Filesystem Hierarchy Standard. I have looked up both binaries and libraries, and as I currently understand it:
binaries are files of computer-readable code in binary format, that control the CPU and processor directly with bits.
libraries are functions usable by various programs, for convenience sake - like when you require a module in Javascript of PHP.
Is this understanding correct? If it is, why do we still separate libraries and binaries? Some libraries are binaries, right? And some binaries (cat, less, date, rm, cp, etc) are used and reused as though they were libraries... Can someone help explain the difference and help me find better definitions for these two words? Thank you.