3 ms·
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
by TylerE 13y ago
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).
- codeflo 13y agoThere are efforts to fix this. In Arch Linux, all binaries are now in /usr/bin, and /bin is just a symlink to /usr/bin.
- TylerE 13y agoThat's not my problem. My problem is: Where is the template file for xyz, or the doc, or the example config, or ...
- pavanky 13y agoWhat 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.
- TylerE 13y agoPractically universally: C:/Program Files/FooProg
- qu4z-2 13y agoIn 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.