4 ms·
> double click the .deb file and install with no hassle That sounds like a great way to finally introduce the concept of trojan-horse malware to the consumer L
by derefr 6y ago
> double click the .deb file and install with no hassle
That sounds like a great way to finally introduce the concept of trojan-horse malware to the consumer Linux ecosystem.
You should almost never be installing a raw .deb, anyway, because packages form networks of requirements/versions/etc. It’s probably outdated, and might even be for the wrong version of the OS—or even for the wrong distro!
The proper GUI workflow, I think, would be for third-parties like Google to offer for download some sort of file representing just an apt PGP-code-signing-identity + source list; and then double-clicking it would open it in Software Center or the like to do the GUI equivalent of apt-add-repository: asking you if you want to trust $ORG and follow the http://org.example.com http://org.example.com apt repo. You’d say yes, and then `apt update` would get triggered, and new packages would appear (hopefully highlighted as such) in the Software Center list.
I’m kind of surprised things don’t already work this way. I think it’s because—other than Chrome—there’s pretty much nothing consumers want to install on Linux that isn’t best installed from the distro’s first-party package repo. For Debian/Ubuntu at least, I can’t think of a single PPA or vendor apt host—other than Chrome’s—that solves a consumer (rather than developer/administrator) use-case.
- rkangel 6y agoWhat you have described basically is how you install Chrome and a lot of other commercially developed apps (e.g. MS Teams). At least it is in the RPM world and I thought it was for deb too. You download the RPM and click it to 'execute' in your downloads. It opens in software Centre. That package sets up an extra repo and then installs the program you want from that repo.
- dungdang 6y agoand this is ine of the reasons linux is a dud as a desktop os. there is no 'malware' here. the guy went to the company's official site. downloaded their official installer. running that should now do the install and figure out whatever else it needs. like it does on windows. yes, if you download and install malware that's bad. no one asked you to be the nanny -just di what you were asked.
- zrm 6y agoYou can download the official installer and install it. That's just not what happens by default when you click on it, because that's not how you get 99% of software on Linux. So if you're doing it that way it's either because you know what you're doing, in which case you know what to do with the .deb, or you don't know what you're doing, in which case you ought not to be installing random binaries from the web. All you have to do on Ubuntu is right click on it and choose "Open With Other Application" and then choose "Software Install". But that friction is intentional. It makes you pause and ask why that software isn't in the package manager. And then whether you really need a browser with a proprietary license and closed source components instead of using Firefox or installing Chromium, which is in the package manager.
- MikusR 6y agoThat doesn'work in latest Ubuntu. You have to use dpkg from terminal
- dungdang 6y agochrome from chrome's website is not a random binary. it the official installer for the most-used browser, from one of the most known companies in the world. when i download an installer, and click on it, it should *gasp -install. again, i know you're smart. i'm an engineer, and was a unix admin for 10 years. your type of thinking is focusing on details so much that you miss the whole simple point of what you're doing. windows doesn't have this problem.
- deleted 6y ago[deleted]
- ies7 6y agoThere still places without internet access. My team still need offline installer.
- shakna 6y agoApt can handle offline installers. It's one of the core parts of the product. If you need to customise it, then the guides around setting up a "DVD repository" will put you on the right path.