I know there exists a firefox-esr package for Raspberry Pi OS and firefox is also preinstalled on Ubuntu Mint [Raspi-Image].
But in this case I'm trying to get firefox as a .tar.bz2 package from the official release site: https://releases.mozilla.org/pub/firefox/releases/
My goal is, to be able to create a "kinda portable" firefox directory.
On my main PC I download the .bz2 package from here:
https://releases.mozilla.org/pub/firefox/releases/90.0/linux-x86_64/de/
Then I extract it and can create a script which starts firefox, but saves all of the data in a defined directory!:
#!/bin/sh
"path/to/firefox/firefox" -no-remote -profile "path/to/profilefolder"
But on Raspi I can only run ARM stuff (sorry for this choice of words, I'm not even one year using linux, excuse :/ ) so this formats/packages:
Dir linux-i686/
Dir linux-x86_64/
... won't start on the Raspi :| (I tried the firefox runtime/application in the firefox folder, but it didn't start.
It would mean the world to me, being able to change the profile-data path without taking to deep changes in the OS. So this script workaround is already good- if you have any tips, I would be really happy to hear from you!