Hacker News new | ask | show | jobs
by stevekemp 1335 days ago
I run Debian on all my systems, and to be honest firefox is something I always maintain separately.

/opt/firefox contains the latest binary download from the official site.

The application is one that updates frequently enough that the gain is worthwhile.

2 comments

This. The packages make sense for the apps that don't change frequently, but browsers don't match this description.
It's the opposite of the way things should be. Package managers should have the most utility for applications that update frequently, because isn't the raison d'etre of a package manager to make updating programs easier?

Some distros manage to get it right. I haven't had any trouble using OpenSUSE Tumbleweed's packaged Firefox.

I've discovered a workflow I'm happy with.

I run Debian stable on my workstation, and manage most of my packages with `apt`. As such, everything "just works," and flawlessly.

For the handful of packages that I want to upgrade aggressively, I manage them with Nix[1].

I've been doing this for maybe two or three years, and despite a little extra complexity, it feels like a best-of-both worlds scenario. I get the rock-solid stability of Debian stable, but the one or two packages that need to stay cutting-edge are able to do so.

I also don't have trouble with package conflicts, because the entire point of Nix is to prevent those kinds of problems.

This has been great for me. Do recommend.

[1]: https://en.wikipedia.org/wiki/Nix_(package_manager)

The package repository should be the off-the-shelf items in the grocery store, while installing separately is the big-ticket and custom made items. Installing apps separately doesn't scale very well, but it makes sense to just do it for firefox and certain others. IMO.
Firefox is "big ticket", but not "custom made"; one firefox package or installer should suit everybody fine. I think package managers can do very well with Firefox if the package is managed well.
Exactly. I use Linux mint (without snaps) and Firefox works great. It updates pretty frequently through mint’s software update tool, which is just running apt and installing package updates.

All this talk of snaps and using PPAs sounds like a an unnecessary headache. What’s the point of a package manager if it doesn’t keep your packages up to date?

It's the user's choice how to install Firefox for sure. The opa works fine on ubuntu
You are right its not the fact that it updates frequently. It is when the distro package is an inferior option either because of version or build options.
How do you handle updates? Do you download the new version from the official site from time to time and replace the old one? I know Firefox can "auto-update" itself but I guess it won't (or shouldn't) be allowed to modify things under "/opt" when running as a user process.
Yes, I have /opt/firefox-1.2.3 with the various binary downloads, and I have a symlink /opt/firefox which gets updated to point to the latest release.

I tend to see new releases announced on lwn.net, and this site, so I just make sure I download it a day or two later so that I'm always current.