There is no "firefox-esr" package when I try to search for it using apt-cache search firefox-esr
. This is surprising because Debian stable has a firefox-esr package. Is there a reason why Ubuntu does not include the firefox-esr package in its official repositories?
This question can really only be answered by a person within Canonical who is authorised to speak on the matter, and it's unlikely such a person will stop by to provide an answer that meets expectations. That said, you can install the ESR package by first uninstalling the Snap version of Firefox, adding Mozilla's PPA, and installing the package yourself.
Putting the above steps all together, you can do something like this:
This should give you Firefox ESR 91.9.0.
The Snap does offer ESR
First, let's talk about how to get ESR directly from Mozilla using the snap (Ubuntu 22.04 and later).
Let's look at the firefox snap:
So installing Firefox ESR is as simple as
$ snap install firefox --channel=esr/stable
There is no Step 2. That was it.
Now let's step back answer why it's not available in the Ubuntu Repositories as a deb (Ubuntu 21.10 and earlier). It's available as a PPA, of course.
It comes down to resources: Building and testing each new update of Firefox takes hours of somebody's time.