Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

As opposed to windows where the user binaries are not located in a central location, I'd take this any day of the week.

You can't blame *nix for having too much choice. Especially when it's coherent.



I actually find unix worse here, as I rarely care about where the binary is (and `which` will happily tell me on the rare occasions that I do), but I often need to find various supporting files. Are they in /usr/share? /usr/local/share? /opt/fooprog? (in the olden days /usr/X11R6/share, or many other variants).


There are efforts to fix this. In Arch Linux, all binaries are now in /usr/bin, and /bin is just a symlink to /usr/bin.


That's not my problem. My problem is: Where is the template file for xyz, or the doc, or the example config, or ...


What are the equivalent locations for windows ? Also almost all programs installed via the package manager will use the same paths. If you are installing a package manually, then things get more.. interesting.


Practically universally: C:/Program Files/FooProg


In fairness, program files, templates, docs, settings, and examples on Windows are often in some mix of

  C:/Program Files (x86)/VendorName/FooProg
  C:/Users/Me/AppData/Local/FooProg
  C:/Users/Me/My Documents/FooProg/
  C:/VendorName/FooProg (I'm looking at you, AMD)
  The registry (which is sorta like /etc, and often abused to store stuff like recent searches, etc)
Linux is definitely worse on that front I agree, but let's not pretend Windows is super-consistent about file locations. I only say this after much frustration recently trying to find things.


Is it coherent? I think the whole point of that post was that it's not obvious where things should go and different people have different opinions on that. For a newcomer, learning the Linux filesystem takes years and can never truly be perfected for the above reasons.


It takes a few days. Even less if you read the specifications. Years seems unreasonably high.


It would take days to learn where things are supposed to go, in the opinion of the person writing the documentation. Where things actually go in the real world varies from distro to distro and application to application. And just when you think you have it down, you try to find where that new app just installed to, and you begin the process again.

And when you finally figure it out, Fedora moves everything to /usr.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: