The latest beta version of Firefox is now available as a preview release. Take it for a test drive and let us know what you think!
How to install firefox 4.0 beta in ubuntu
Open the terminal and run the following commands
sudo add-apt-repository ppa:ubuntu-mozilla-daily/ppa
sudo apt-get update
sudo apt-get install firefox-4.0