15

This question already has an answer here:

The firefox on my ubuntu requires me to update Flash plugin and follow the link I get to the page which ask me to download the latest Firefox package. I download the tar.gz and unzip it. It is the new version, but it is in an independent folder and if I want to use it, I need to open the folder and click on the Firefox executable.

How can I replace the old version of firefox on my ubuntu with the newly-downloaded?

I checked the old version:

nanger@mypad:/usr/lib/firefox$ which firefox
/usr/bin/firefox
nanger@mypad:/usr/bin$ whereis firefox
firefox: /usr/bin/firefox /etc/firefox /usr/lib/firefox /usr/bin/X11/firefox /usr/share/man/man1/firefox.1.gz

I'm not very familiar with linux system. But what is /usr/bin/firefox? is it a symbolic link which link to the Firefox executable in /usr/lib/firefox? how can I replace it with the new version?

thanks!

marked as duplicate by Panther, Eric Carvalho, Mitch Oct 6 '15 at 7:18

This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.

  • 1
    Firefox and flash plugin are not the same. To upgrade firefox, sudo apt-get update && sudo apt-get install firefox . For flash askubuntu.com/questions/341428/… – Panther Oct 4 '15 at 2:27
  • be careful what you download it may be malware – mchid Oct 4 '15 at 2:30
  • btw, yes it it a symbolic link to /usr/lib/firefox/firefox.sh if you replace it now, it will be overwritten when firefox automatically updates with the rest of your system so that's probably not such a good idea if you would like to use your downloaded version instead – mchid Oct 4 '15 at 2:54
  • Really can't fathom why this was voted as duplicate and still shows as one... – matt Jan 16 '17 at 14:00
22

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 flashplayer 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 flashplugin updated, install the flashplugin 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

  • W: Can't drop privileges for downloading as file '/var/lib/update-notifier/package-data-downloads/partial/adobe-flashplugin_20160407.1.orig.tar.gz' couldn't be accessed by user '_apt'. - pkgAcquire::Run (13: Permission denied) E: Failed to fetch http://archive.canonical.com/pool/partner/a/adobe-flashplugin/adobe-flashplugin_20160407.1.orig.tar.gz 404 Not Found [IP: 91.189.92.191 80], on Ubuntu 16.04. – matt Jan 16 '17 at 13:56
  • @matt Sorry, I didn't see your comment. I think this might be related: askubuntu.com/a/862610/167115 – mchid Dec 25 '18 at 18:40

Not the answer you're looking for? Browse other questions tagged or ask your own question.