4 ms·
> but apps are completely free to ignore that and install to anywhere To be fair, I'm not aware of any package managers (other than container-based ones) that
by yjftsjthsd-h 3y ago
> but apps are completely free to ignore that and install to anywhere
To be fair, I'm not aware of any package managers (other than container-based ones) that enforce installation locations; AFAIK you can create a .deb or .rpm that will drop files in /home and run arbitrary scripts on install and uninstall. The thing imposing order on the filesystem is what the distro policy imposes on their first party packaging, not a technical limitation in the packaging system.
- mschuster91 3y agoIndeed, but at least for .deb packages, any file dropped by dpkg will be removed during uninstallation. Script-created files are a different beast, though.