You can have it easier than that, there's an official apt repo with an official guide that just requires you to copy and paste a few things in a terminal. (You will need to know how to reactivate custom apt repositories after Ubuntu distro upgrades.)
Yeah my guy I know, the distro package is a shim that installs the snap. So one has to apt pin so the package doesn’t install, nuke all snaps, then install Firefox from a ppa or other repo. Been there done that.
I don't use Ubuntu so I'm out of the loop, but gosh, who in their right mind thought it would be a good idea? I would assume that your users shelling into apt know what they want and know what they are doing. That comes across as so malicious and unnecessary.
https://support.mozilla.org/en-US/kb/install-firefox-linux#w...