|
|
|
|
|
by danudey
2020 days ago
|
|
You make some good points, but I want to follow up: With dpkg packages for example, you do get a few guarantees. 1. The package will include a list of files which it installs
2. The package manager will not overwrite existing files which were installed by dpkg without an explicit diversion
3. When uninstalling, the package manager will remove any of those files, and the directories created for them (unless they are not empty or are also crated by another package)
4. It won't run as non-root (unless you've made some major changes to your system), and as such won't prompt you for, or try to take advantage of, sudo access. Sure, that doesn't stop out-of-the-norm behaviour; the Oracle Java packages are a great example of this; the packages contain only a shell script which downloads, unpacks, copies, and symlinks the actual Oracle Java tarball from Oracle's website, and then (ideally) removes those packages if you're uninstalling. Still, it's far more of guarantees than curl|bash provides. |
|