36

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?

top 48 comments
sorted by: hot top controversial new old
[-] bleistift2@sopuli.xyz 3 points 8 hours ago

I use Mint and I just double-click *.deb files to install them. Ubuntu does not do this?

[-] FizzyOrange@programming.dev 8 points 15 hours ago

This is deliberately not allowed in order to ensure that Linux remains exclusive for nerds.

[-] erytau@programming.dev 16 points 18 hours ago* (last edited 18 hours ago)

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.

[-] JamonBear@sh.itjust.works 35 points 22 hours ago

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.

[-] DmMacniel@feddit.org 17 points 20 hours ago

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)

[-] JamonBear@sh.itjust.works 11 points 22 hours ago

I much preferred the windows way, shocker, with just downloading and double-click the exe file.

This is appimage!

[-] RommieDroid@programming.dev 7 points 22 hours ago

Om, AppImage is portable exe. Has it's uses.

[-] Kolanaki@pawb.social 19 points 1 day ago* (last edited 1 day ago)

the monkey's paw curls a finger and your wish is granted

you can now right click and select install. But it doesn't actually install properly.

[-] NaibofTabr@infosec.pub 16 points 1 day ago* (last edited 1 day ago)

It doesn't check dependencies.

You have 356 different copies of libcurl installed on your system.

Nginx, Apache and Lighttpd are all running in the background and collectively using the same port, somehow.

Wayland and X are both running with multiple sessions but none of them are on the default TTY.

[-] RommieDroid@programming.dev 3 points 1 day ago

dpkg doesn't? I sometimes use apt install command but didn't think it mattered if the deb package was configured right.

[-] NaibofTabr@infosec.pub 10 points 1 day ago

It's an embellishment on the above monkey's paw comment, not actual technical information.

[-] xylol@leminal.space 7 points 21 hours ago

When I was on popos I would just double click deb files and eddy would open and install

[-] ceiphas@lemmy.world 3 points 6 hours ago

"popos" is german for "butts", PopOS! is a bit different

[-] xylol@leminal.space 1 points 2 hours ago

Eddy doesn't care which, he's installing

[-] bryceac@mastodon.world 17 points 1 day ago

@RommieDroid It’s not there by default, but Gdebi can do the trick. I used it quite a lot when I first started with Linux.

[-] RommieDroid@programming.dev 3 points 1 day ago

That's awesome. Thank you.

[-] bryceac@mastodon.world 6 points 1 day ago

@RommieDroid No problem. Many of us are here to help in the #linux community, though I wouldn’t say I’m the most advanced with it.

[-] smiletolerantly@awful.systems 6 points 21 hours ago

Is this really a common occurrence for you, that the package isn't available via apt?

[-] dev_null@lemmy.ml 3 points 11 hours ago

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.

[-] clay_pidgin@sh.itjust.works 6 points 21 hours ago

On Debian it is. The stable branch is a pain. I need to switch to something else.

[-] Successful_Try543@feddit.org 3 points 15 hours ago

If it's only due to the branch, i.e. a package or desired version isn't available in stable but is in testing or unstable, you may try using pinning.

[-] clay_pidgin@sh.itjust.works 2 points 13 hours ago

Reading, thank you.

[-] smiletolerantly@awful.systems 5 points 20 hours ago

Ah, understandable.

May I talk to you about our lord and savio, NixOS? (Only kinda /s)

[-] clay_pidgin@sh.itjust.works 2 points 13 hours ago
[-] smiletolerantly@awful.systems 3 points 13 hours ago

Nice!

How much do you know of nix? (Just gauging where I should start in my propaganda script :D)

[-] clay_pidgin@sh.itjust.works 1 points 11 hours ago* (last edited 11 hours ago)

Nothing, besides seeing the name on some memes.

I'm not a sysadmin and I want a computer that just works, to the extent that that's possible. I'll fix stuff that needs fixing, but ideally I don't need to do much. I'm not a customizer, so themes and rice and stuff go over my head. I don't have any real ideological bent - FOSS is lovely but if I need proprietary to get my ultrawide monitor working or whatever, I'll use it.

I like the KDE I'm using now (though I understand I'm a major version behind!) but am not afraid to try something else. I play games with Steam and Lutris, most of which work some of the time.

[-] rikudou@lemmings.world 1 points 7 hours ago

Well, NixOS is mostly for enthusiasts and it's very much the opposite of beginner friendly.

The idea is that you configure your system in a configuration file, then run a command that makes your system match exactly what you configured.

So instead of apt install or similar you just add the package to your config, run a single command to rebuild the system and you're done.

Which also means you're mostly on your own, most guides for other distros don't work and the documentation on how to do the things in NixOS are very incomplete. It's nice and fun, but definitely not for an average user.

[-] MangoPenguin@lemmy.blahaj.zone 9 points 1 day ago

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.

[-] manxu@piefed.social 6 points 21 hours ago

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.

[-] dev_null@lemmy.ml 3 points 11 hours ago* (last edited 11 hours ago)

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.

[-] obsoleteacct@lemmy.zip 3 points 12 hours ago

What linux does and does not protect the user from is endlessly hilarious to me.

Hey linux, I want to install a file you downloaded.

Linux: Sounds risky man

I'd like my file explorer to have super user privleges.

Linux: Are you out of your god damned mind?

Hey linux, I want to delete the kernel that I'm actively using right now.

Linux: Hell yeah. I'll go to the looney bin with you.

[-] MangoPenguin@lemmy.blahaj.zone 1 points 12 hours ago

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?

[-] rikudou@lemmings.world 2 points 7 hours ago

It's not any more secure. The point that "installing random debs is insecure" has been running around for at least the last 16 years I've been a Linux user.

While it's technically true, AppImages are as secure as random debs. Same with random repositories that are not provided by your system. Same with flatpaks.

And unless you're an extremely basic user, you'll eventually have to install an application not in your repositories. The method doesn't really matter, it's all equally (in)secure.

[-] PatrickYaa@feddit.org 1 points 19 hours ago

It's the same thing with .exe on windows. It's potentially dangerous and people need to be mindful what they download and install.

[-] bryceac@mastodon.world 6 points 1 day ago

@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.

[-] demerara@social.vivaldi.net 1 points 1 day ago* (last edited 1 day ago)

@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.

[-] bryceac@mastodon.world 1 points 1 day ago

@demerara @MangoPenguin @RommieDroid I just try to find the current way to uninstall the preloaded version and then run dpkg -i *.deb in the extracted directory for the latest, but I can kind of see how that can be possible.

[-] RommieDroid@programming.dev 1 points 1 day ago

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@mastodon.world 4 points 1 day ago

@RommieDroid Most of them are based on Ubuntu, such as Mint and the stagnated Pop! OS.

I can’t say what they are all like, but Ubuntu and its family are all the ones adopting a software center/App store these days.

In the past, I remember using Synaptic for searching for software, which was just a GUI front end for APT.

I’ve been using Nala lately in my VMs though.

[-] astrsk@fedia.io 6 points 23 hours ago

Just add your own context menu shortcut for .deb files that runs sudo deb -i $_

[-] themadcodger@kbin.earth 3 points 22 hours ago

Wait, for real? Gen Alpha doesn't know what a file type is??

[-] RommieDroid@programming.dev 4 points 21 hours ago

fr, windows hides the file type by default.

[-] victorz@lemmy.world 9 points 21 hours ago

Windows has done this since I was a kid (I'm a millennial). Later gens have no excuse.

[-] naught101@lemmy.world 4 points 1 day ago* (last edited 1 day ago)

Not quite what you want, but in dolphin you can open a terminal with F4, and then just type sudo deb -i <package.deb> and your password. Pretty quick.

[-] RommieDroid@programming.dev 4 points 1 day ago

It's a useful shortcut.

[-] meekah@lemmy.world 1 points 20 hours ago* (last edited 20 hours ago)

Typing all that is still way much more work than just 2 clicks. Besides, OP specifically asked for an alternative without opening the terminal

[-] grue@lemmy.world 0 points 20 hours ago* (last edited 20 hours ago)

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.

[-] Successful_Try543@feddit.org 3 points 18 hours ago* (last edited 18 hours ago)

Doesn't apt (not apt-get), unlike dpkg, perform a dependency resolution before installing a downloaded deb package?

this post was submitted on 26 Jun 2025
36 points (89.1% liked)

Linux

8093 readers
577 users here now

A community for everything relating to the GNU/Linux operating system

Also check out:

Original icon base courtesy of lewing@isc.tamu.edu and The GIMP

founded 2 years ago
MODERATORS