Update firefox on Ubuntu

There is easy way to update firefox and there is 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 woila, you are done. Easy, wasn't it? If it wasn't it and it gave you error that looks like:

firefox is already the newest version

Then you have to get to slightly different approach.

Second way to do so

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.