Hello and thank you for choosing JUSTANSWER.com
According to all the documentation i have found and understand to be true.....the Answer is YES.
LastPass will work on Firefox that is loaded onto a Linux Kernel such as Ubuntu.
However, they do NOT specifically list Ubuntu or any of its versions....nor does it list any other flavors of linux. But it does say any and ALL linux flavors are supported. And boast a universal Linux installer.