Keep configurations and extensions

Hello,
I’m developer, I use linux(ubuntu 16.04) and I will give a try to firefox developer quantum…

I have some questions with myself:

I will install the browser from source, if a new browser was released I will need to install it again in another folder…
How can I keep my extensions/bookmarks, etc, from my old installation?
How it works?

Thanks in advance