Let's get clear with all bin and sbin folders(from filesystem hierarchy standard):
/binis for system-level binaries
/sbinis for other system-level binaries mostly for the boot loader and system administrators
/usr/binis for not essential binaries
/usr/sbin- this is where mess starts - not essential tools for for system administrators? What does it mean? For experiments?
/usr/local/bin- no word about this folder
/usr/local/sbin- locally installed system administration programs. Again? How about
So the question is: Why there are so many directories and what are the meanings of
Many programs are distributed through archives and we have to build them from source code. Usually they have makefile so it's quite easy. This process involves creating files in usr/local/lib, usr/local/bin... usr/local/whatever without creating specific folders for a given program.
Why is it so?
I think it's not right because if we need to remove the program we have to manually delete every of its files if the program's creator didn't take care of it.