Also, to the parent comment -- you should be putting stuff in ~/.local anyway, not in the top-level home directory.
(To add to this: Snap can go and die in the deepest layers of hell. What an awful "we have to be special" piece of 'technology')
$ cat /etc/apt/preferences.d/firefox-ppa-pin-400
Package: \*
Pin: release o=LP-PPA-mozillateam
Pin-Priority: 900I think if you do the "system" install, it won't be able to update itself, but the user install will be able to.
Though you'll have to convince Ubuntu to prefer that instead of the snap. It's not hard, certainly easier than installing Debian which is probably still what I should have done. I think I used this guide: https://www.omgubuntu.co.uk/2022/04/how-to-install-firefox-d...
Though what that doesn't tell you is that the snap install has its own profile folder location. So before you switch to one of the other install variants, note the location in about:support and make a copy of the folder. Running snap remove firefox will actually create a backup of the folder (unless you add --purge, so don't), which really saved my ass.
https://www.baeldung.com/linux/snap-remove-disable
Or use one of the 500 linux distros out there or build your own.
Linux doesnt force you to use one path. My reply is not meant to sarcastic I am just bringing to your attention that you absolutely have alternatives, because linux is cool - ubuntu included.