i downloaded the .tar.bz2
i extracted it
and now i'm stuck - why did it create a firefox folder..... it should of create a firefox-ESR folder so i can have both regular firefox and ESR firefox
The firefox tarball created a firefox directory to hold all the files. This is standard behaviour of properly written tarballs.
That folder it created is probably in your home directory, so it is entirely usable from that directory with a few simple steps.
If this is the second firefox on your system, (being a firefox-esr), when you run it, it will create it's own profile under the /home/<username>/.mozilla/firefox directory, and will not interfere with the existing firefox.
To run the firefox-esr from your firefox directory, from the terminal, you can enter that directory where all the files are and run:
and if it's all true and good, the command should open the browser.
Since you're wanting to run both, you need to pay attention to the way they are called. Presumably the first firefox installed was installed by your package manager, so when you run the firefox command from a terminal, or when you hit the relevant icon on your desktop, it is that packaged firefox that will run.
I assume the firefox-esr is outside the package manager, that is, you haven't converted it to be installed through the package manager, so you will need to manage it yourself in relation to updating, removing etc. This is not difficult to do.
One way of doing it is to create a small executable script that you can place in /home/<username>/bin directory which is named differently from the package manager installed firefox. I'll propose "foxesr" as the name of the script file. Its contents could be something like this:
# this is a script for to start the firefox-esr browser startup executable
where the cd command goes to the firefox directory from the expanded tarball. You may place the directory anywhere you like and adjust the script accordingly.
Note that the /home/<username>/bin directory needs to exist and be included in your path. Check with:
The file: foxesr needs to be made executable:
From here, you would just need to open a terminal and run: foxesr.
There are a number of alternative methods and the above is simply one to get going. You can also create an icon for this firefox version to run from the desktop but I'll leave that as an exercise for others.