How can I update Firefox on Ubuntu? [duplicate]

First of all, you may run into a false message from a webpage asking you to update Flash when running Linux because, although Linux Flash still receives security updates from Adobe, our Flash player is stuck on version 11 or 12 point something, whereas all Apple and Windows users are using version 18 or 19.

You can safely ignore these messages and some of these messages have actually been linked to malware in the past, so be very careful my friend on what you click on and trust nobody.

To keep your Flash plugin updated, install the Flash plugin downloader from apt-get and it will update itself. Open a terminal and run the following commands:

sudo apt-get update
sudo apt-get install flashplugin-installer

To update Firefox, run the following commands:

sudo apt-get update
sudo apt-get install firefox

Don't forget to restart Firefox.

If you would like to install Firefox nightly, please let me know and I will provide instructions on how to do so.

Please post any errors.