Linux Directory Structure - FHS

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

You are viewing a single comment

So where are programs installed?

I was playing with Linux the other day and installed something and was tearing my hair out trying to find where the exe or whatever was to launch the damn program.

None of the folders made any sense to me.

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.