When should I install software from the package manager and when from a downloaded package or vendor script?
For a lot of software there are several routes: the distribution's repository, a package file downloaded from the vendor, a vendor-provided repository, a self-contained bundle, or a script piped into a shell.
They all work. I have been picking whichever the vendor's page suggests, and I now have a machine where I am not sure how anything got installed or how it updates.
What is the reasoning for choosing between them?
@pkg_pervin · 3d ago
On that last one, since it is the most common installation instruction on the web and the objection is often overstated in the wrong direction.
The usual complaint is that the server could serve something malicious. True, and if you do not trust the vendor you should not be installing their software at all — running their installer and running their program are the same trust decision.
The better objections are practical:
The compromise: download the script to a file, read it, then run it. Most are short and most just add a repository, which you can then do directly.
Reply
Report