Live data from Hacker News

Mozilla's new Firefox Linux package for Ubuntu and Debian derivatives

blog.mozilla.org

131–140 of 176 posts

Re: Mozilla's new Firefox Linux package for Ubuntu and Debian derivatives

#131

I was already using the ~mozillateam PPA, because fuck Snap, but it'll be great to have an offical Firefox repository. Ubuntu, if you're listening: fuck Snap. I'm never going to use it. I stripped from all my Ubuntu machines. If you try and force it upon me, I'm moving to Debian, no matter how much hurt that causes me.

As someone who is quite new to Ubuntu, and recently just ran an install. I've seen this "snap" word thrown around and for better or worse I consider the opinion of random HN users to be better than the average opinion elsewhere on the internet. What do you dislike so much about snap? Also any tips on how one goes about purging it from their machine if they too also decide they don't like it?

Snaps are self contained packages of software. They are mounted as a separate isolated file system when they start.

The good: Snap packages run on almost any Linux distribution, so they're an easier target. Distribution specific packaging can be tedious, and often involves a distro having to maintain packages themselves by repackaging the "upstream" package or software. With software that updates frequently, snaps theoretically mean a lot less work for distro package maintainers, because one package works on every distro. Snap packages are also sandboxed and have less access to the host system.

The bad: In practice, they don't work very well. Snap programs are slow to start up. Because of their sandboxing and universal nature, their integration into the distribution can be lacking.

For example, when I upgraded to Ubuntu 22.04, I was automatically moved to Firefox snap. It is painfully slow to start. Instead of the normal Ubuntu file browser when I went to upload or save a file, it uses a jarringly different file browser. I switched back to using the firefox PPA, and now this new package directly from firefox.

I also moved to the Slack snap, which also works terribly. I apparently can't upload and download files from it reliably, so I have to open it in my browser to do so. There appears to still be an official deb package, but they've hidden it on their site because they want you to use the snap.

Snap started as a method of packaging applications for servers, and that's still where they're most useful. Slow startup time and issues with desktop integration are not concerns for server side snap packages. For desktop graphical applications, Flatpak will likely be a much more useful universal package system.

Re: Mozilla's new Firefox Linux package for Ubuntu and Debian derivatives

#132

> Getting the latest version with features and security fixes is key to having a good experience whenever you use Firefox. Now, our new APT repository is directly connected to the Firefox release process, so you will receive the latest updates whenever we make them available. Tip: you will still need to restart Firefox for the latest version. In the past when I've installed Firefox through a .deb, it has had this ann…

I expect this would still be a problem for this .deb. The package manger is doing the updating which is what causes the problem for Firefox. The restart notice provides a way for Firefox to signal to the user that the binary on disk doesn't match the binary running. Without the warning Firefox used to randomly crash when creating new processes. The warning allows the user to perform an orderly restart (not great but…

Shameless plug: I wrote a tiny script to install Firefox from their tar.gz, without requiring root access: https://github.com/agateau/tmfi.

Re: Mozilla's new Firefox Linux package for Ubuntu and Debian derivatives

#133
post #31

This is a welcome addition for Chromebooks, because now you can install latest Firefox (not ESR) in Crostini without using Flatpak. Sadly Mozilla still doesn't offer `aarch64-linux` builds for Firefox in their official channels, so for those that have a ARM64 Chromebook will still need to use something else to get Firefox running (I use Nix, but it needs some complicated setup to work with hardware acceleration, for…

How's your experience with Firefox in ChromeOS compared to Chrome ? Doesn't it feel second class ?

Since my Chromebook is not really powerful, yes, Firefox feels like a second class citizen. But I imagine in a better Chromebook it should work better.

Re: Mozilla's new Firefox Linux package for Ubuntu and Debian derivatives

#135

I was already using the ~mozillateam PPA, because fuck Snap, but it'll be great to have an offical Firefox repository. Ubuntu, if you're listening: fuck Snap. I'm never going to use it. I stripped from all my Ubuntu machines. If you try and force it upon me, I'm moving to Debian, no matter how much hurt that causes me.

What hurt do you expect from Debian? Just genuinely curious as I've daily drove since my switch and would like your perspective

Debian is my choice too! I run Debian testing and it is great! I have up to date packages, a ‘rolling’ release and now even Firefox straight from Mozilla

Re: Mozilla's new Firefox Linux package for Ubuntu and Debian derivatives

#136
post #90

I just use whatever is in debian testing or unstable, but it's trivial to download firefox _directly_ from mozilla which will then keep itself updated to the latest version. This just chucks firefox in /usr/local but its straightforward to edit and use ~/, opt, etc., just make sure the created symlink is somewhere in $PATH. Desktop integration will depend on your DE/WM, but should be pretty simple to figure out if no…

This is what I do with Firefox developer edition. It doesn't have that problem where it refuses to work if it's been updated in the background, it just adds a little green dot to the hamburger menu that indicates that it wants to restart at your leisure.

Re: Mozilla's new Firefox Linux package for Ubuntu and Debian derivatives

#137
post #111
post #92

Earlier quoted context omitted.

apt, apt-get, aptitude and synaptic are all front ends to the same package management system.

I’m well aware of that. How is that in any way relevant to the question I was asking?

apt-get install will automatically download and install the deb for you.

Re: Mozilla's new Firefox Linux package for Ubuntu and Debian derivatives

#138
post #113
post #87

Earlier quoted context omitted.

1. Add the apt repo 2. Add the repo's public key 3. apt-get update 4. apt-get install firefox What 3 steps am I missing?

Counting “steps” is inane to begin with. Those could all be done with a one-liner, does that make it one step?

You could do this with a one-liner I suppose, but the Firefox guide still gives you 7 steps to accomplish something apt will do with a single command.

Re: Mozilla's new Firefox Linux package for Ubuntu and Debian derivatives

#139

Takes 7 steps to install Firefox this way as opposed to apt-get install.

but you are on an older version of ffx

*temporarily delayed version. This is a complicated nuance depending on the release cadence of your distro.

Re: Mozilla's new Firefox Linux package for Ubuntu and Debian derivatives

#140

I was already using the ~mozillateam PPA, because fuck Snap, but it'll be great to have an offical Firefox repository. Ubuntu, if you're listening: fuck Snap. I'm never going to use it. I stripped from all my Ubuntu machines. If you try and force it upon me, I'm moving to Debian, no matter how much hurt that causes me.

What hurt do you expect from Debian? Just genuinely curious as I've daily drove since my switch and would like your perspective

I think that Debian is lovely, but as a person with a hojillion scripts and configs, I don't know how Debian and Ubuntu have diverged over the years in terms of filenames, paths, package names. etc., and I'll have to find out (for example, Ubuntu's /etc/cloud/cloud.cfg.d/ vs Debian's /etc/network/interfaces).

I was also going to mention ufw, but I see Debian ported it, so that's one less concern!

Post reply on HN