I wish there was a right click install button for deb files
I know it's not that hard $ dpkg -i but opening the terminal gives normies an aneurysm and thanks to the crazy gatekeeping gen alpha doesn't know what a file type is now.
I use Ubuntu btw. Personally, the App store's on Linux confused me a ton, setting up Flatpak and some other package repositories. I much preferred the windows way, shocker, with just downloading and double-click the exe file.
Do I have to make a pull request myself to get this done, or what is the debate on this?
If you have Nautilus as the filemanager, you can write a Nautilus script that does this for you, you just then have to right click and select the script. You can run essentially any script this way, I use it for some preset file conversions.
FWIW instead of dpkg -i stuff.deb, you can use apt as such: apt install ./stuff.deb (The path syntax like ./ is required to use a local file instead of searching for a package name).
Unlike dpkg, apt is able to fetch dependencies if needed.
Gnome-Software and GDebi can do exactly that for you. Download a deb, right click "open with X", and they'll install it for you using GUI. You can even change file associations so debs are opened by gdebi/gnome-software by simple double-clicking.
Strange when I double click a .deb and or a .flatpakref file the gnome software application opens with the option to install that package. (Linux mint)
Most end-user software is not in Debian/Ubuntu repos. Sublime Text, Discord, Anydesk, Google Earth, Ente Photos, Synergy, Steam, NordVPN... The list goes on. You download a Deb from their website.
I really don't understand why it's not more streamlined, it should work like an exe where I just click it and it installs and handles dependencies automatically.
Installing a random .deb comes with enormous security implications. I am not sure that making the process more beginner friendly is a really good idea.
"Beginner friendly" should be limited to things from the main repositories, and for that there is the Software Center.
Not any more dangerous than installing a random exe. And a GUI that opens when you click one could explain that danger much better than what currently happens: people blindly use sudo dpkg and that's it.
That is fair, I suppose being able to click and run stuff like Appimages has less security issues because in theory they are isolated? But don't the appimages get to decide their own permissions?
@MangoPenguin@RommieDroid It’s more so that the people working on “beginner friendly” Linux distros are pushing users towards Software Centers/App stores these days.
Those of us who are familiar with the old ways don’t really have much trouble, but there’s stuff that is a big pain, like #LibreOffice
Installing the latest version of that is easier to do in the terminal and can’t be done as conveniently as what you propose, though I wish it was that easy.
I'm not so sure about those beginner-friendly distros, they seem a little doggy and miss out on the massive work that the Debian and Ubuntu teams do that a smaller team can not. Snap is good for small, one time use or untrusted apps. But most of the time, its performance is really slow. It needs some work.
@bryceac@MangoPenguin@RommieDroid LibreOffice is certainly an exception. One deb, no problem, but a whole screen full of them? And just running dpkg -i may get you two instances depending on the update? I finally went for flatpak on this one.
That's a bad idea because you have no clue if any random .deb file is actually compatible with your system or not (a .deb intended for use on Debian Bookworm will not necessarily work on Ubuntu 25.04, or vice-versa, for example). And that's on top of the security issues and lack of dependency resolution that others have mentioned already. If you're new enough to Linux that you don't feel comfortable with the terminal, you should not be trying to install things via .deb file to begin with.