Update Firefox on Ubuntu
There is an easy way to update Firefox and there is a little bit more complex way to do it. We'll cover both of them.
Easy way to update Firefox
sudo apt-get update
sudo apt-get install firefox
And voila! You are done. Easy, wasn't it? If it wasn't that and it gave you an error that looks like:
firefox is already the newest version
Then you have to get a slightly different approach.
Second way to do it
Add following line to your sources list:
deb http://ftp.de.debian.org/debian sid main
by opening sources.list
sudo gedit /etc/apt/sources.list
Add to it and save.
Then run commands from above:
sudo apt-get update
sudo apt-get install firefox
And there it is. New fresh Firefox installed.