If it is not possible from firefox itself, try the package management of Ubuntu. I guess since it is Debian based, there are tools like:
X:
- synaptic
Command line:
- aptitude
- apt-get
- dselect
Just found a link to synaptic on Ubuntu:
https://help.ubuntu.com/community/SynapticHowto