Linux Directory Structure - FHS

sag@lemm.ee to Linux@lemmy.ml – 1223 points –
lemm.ee
204

You are viewing a single comment

It should be in /bin or /usr/bin or /usr/local/bin. You can use "which" command to know

or /opt, or a binary in some hidden folder in /home...

Same as Windows and MacOS, really. You can follow best practices and conventions, or just install your software wherever you want.

I guess the problem is that app developers write the installers, and they suck at following conventions. Obligatory fuck Snap, as it creates a folder in the home dir, and it doesn't even bother to hide it, and it is not even reconfigurable.