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

  "I actually like having visible directories, versus having to figure out where in /usr/share or /usr/local/ or ~/.local or /var an installer chose to sneak their files in."
You seem to be mixing together two concepts here:

1. The files created by the installer, which are handled by the package manager. I can consult my package manager for files created by a specific package: pacman -Ql package_name.

2. The files created after installation (user preferences, plugins). The program should follow the XDG specification.



I don't worry about where my distro package manager installs files.

Some install methods are outside of your package manager, but try to touch /usr or /opt or /var, like NVIDIA sh scripts and the likes.


And those should be avoided as much as possible because they're always problematic and break randomly. How could they not break, when the package manager doesn't even know they exist or what they depend on?


Well now we're going around in circles:

1. External install scripts that put stuff in system directories are sloppy and we don't like them

2. External install scripts that put stuff clearly-named non-hidden directory in your $HOME are better than the above




Consider applying for YC's Winter 2026 batch! Applications are open till Nov 10

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

Search: