News for hackers. Stuff that matters.
Re:Ubuntu 20.04 LTS (Focal Fossa) by gerdesj on Thursday April 23, 2020 @04:13AM (#22953815)
"It looks like deb files only can be installed via the terminal."

There's another way?

Re:Ubuntu 20.04 LTS (Focal Fossa) by oaiey on Thursday April 23, 2020 @04:42AM (#22953976)
Even as a Windows guy, I was wondering: Why would you use anything else than the terminal? When you understand deb packages then you only want the terminal. Everyone else, will want to use a UI and will have no idea what a deb file is.
Re:Ubuntu 20.04 LTS (Focal Fossa) by suby on Thursday April 23, 2020 @04:55AM (#22954051)
Everyone understands the paradigm of double clicking an icon to launch the program or an installer. Many aren't going to understand the exact command they need to type into a terminal to get it to do what they want. This is almost always the answer for why people don't want to resort to using a terminal, discoverability. You can look it up, of course, but there's no good reason imo to not include GDebi for users unfamiliar with that workflow. Other distributions have it by default, but Cannonical is favoring their own tech here over the needs of the users. One more useless roadblock.
Re:Ubuntu 20.04 LTS (Focal Fossa) by olyjohn on Thursday April 23, 2020 @01:47PM (#22958670)
My dad runs Ubuntu at home. He's completely computer-illiterate. When I need to help him install something over the phone, it's really nice to be able to have him download a .deb, double-click on it, and it just works. I've done this numerous times over the phone with him... it would take me an hour just to get him to type apt install properly.
Re:Ubuntu 20.04 LTS (Focal Fossa) by yread on Thursday April 23, 2020 @12:59PM (#22958101)
For me the struggle is: is the package called libcairo-devel, libcairo2-dev, cairo-dev or something else, i hate running a search everytime
Re:Ubuntu 20.04 LTS (Focal Fossa) by capableweb on Thursday April 23, 2020 @04:17AM (#22953832)
Oh yeah, used to be at least two more ways. Not sure which one of these are not possible but anymore, but you used to be able to do:

1) Synaptic package manager which is a GUI for searching and installing .debs. My first exposure to a package manager when I first installed Ubuntu some 12 years ago.

2) Simply double-clicking on the file, opening the Gdebi (I think?) UI for installing that specific .deb file.

Re:Ubuntu 20.04 LTS (Focal Fossa) by jakear on Thursday April 23, 2020 @04:56AM (#22954058)
In my experience, simply double clicking on the file never actually worked for installing debs. The UI would pop up, give me a nice pleasant "Install" button, but clicking it would either no-op, crash the UI, show a progress bar that stalled out, or act like everything worked perfectly but not actually install it. Command line install works flawlessly every time.
Re:Ubuntu 20.04 LTS (Focal Fossa) by capableweb on Thursday April 23, 2020 @05:01AM (#22954076)
Judging by your other comment (https://news.ycombinator.com/item?id=22954061) you were using Software Center for the installing. Gdebi was working fine back before Software Center.
Re:Ubuntu 20.04 LTS (Focal Fossa) by jakear on Thursday April 23, 2020 @05:11AM (#22954114)
I was using whatever popped up in a default Ubuntu VM when I double clicked a .deb file. If they've chosen to make that not the best software for installing .deb's... lets just say I can see why people say Linux distributions tend to be user-unfreindly.
Re:Ubuntu 20.04 LTS (Focal Fossa) by capableweb on Thursday April 23, 2020 @06:52AM (#22954589)
Ok, great story, but not really relevant to the conversation around the difference ways you can install a .deb, which is the subject of this particular sub-thread.
Re:Ubuntu 20.04 LTS (Focal Fossa) by bubblethink on Thursday April 23, 2020 @05:55AM (#22954326)
Synaptic should still work at least for the X session. I haven't used it in a while, but it is a really good package manager. They got it right a decade ago.
Re:Ubuntu 20.04 LTS (Focal Fossa) by binarysneaker on Thursday April 23, 2020 @04:35AM (#22953921)
I like the simplicity of Eddy for installing packages https://github.com/donadigo/eddy
Re:Ubuntu 20.04 LTS (Focal Fossa) by input_sh on Thursday April 23, 2020 @05:46AM (#22954294)
It works marvelously for me. Never stumbled upon an issue with it.
Re:Ubuntu 20.04 LTS (Focal Fossa) by LandR on Thursday April 23, 2020 @04:18AM (#22953836)
In 18.04 you can install via the Software Center
Re:Ubuntu 20.04 LTS (Focal Fossa) by jakear on Thursday April 23, 2020 @04:57AM (#22954061)
This almost never actually worked in my experience. It was more of an annoyance than not even pretending to work, because I'd take time trying to get things to install in the UI and they wouldn't work before I eventually needed to revert to CLI.
Re:Ubuntu 20.04 LTS (Focal Fossa) by kortex on Thursday April 23, 2020 @07:26AM (#22954807)
My experience mirrors yours. Could never get double-click on .deb to work, same symptoms, and Software Center was always buggy/frustrating. dpkg -i all the way, but that's definitely a ux hit for broader adoption of Ubuntu.
Re:Ubuntu 20.04 LTS (Focal Fossa) by jakear on Thursday April 23, 2020 @10:19PM (#22963968)
Ah... I want to like Linux. I really do. But I regularly install software across MacOS, Windows, Debian, and CentOS, and the only time I have trouble installing is for .deb/.rpm/.snap.

Installing on Windows is run the installer and click through the guided wizard. Annoying, but it works and it’s foolproof so whatever.

Installing on MacOS is unzip and click and the application is already running. Drag over to ~/Applications if I want to. Easy as fuck.

Installing on Linux is trying to remember what apt-get/snap/dpkg/etc. I need, then on top of that what --dangerous or --classic or I don’t even know what all else I need, and cross my fingers and hope it works. It’s honestly aggravating.

Re:Ubuntu 20.04 LTS (Focal Fossa) by steerablesafe on Thursday April 23, 2020 @08:42AM (#22955299)
apt install ./package.deb installs the package and dependencies in one go.
Re:Ubuntu 20.04 LTS (Focal Fossa) by Ballas on Thursday April 23, 2020 @04:37AM (#22953936)
Exactly!