Avipsa
Avipsa

Reputation: 91

Disable Firefox auto-update in Linux

In my current project, I require Firefox browser to be run in headless mode using Xvfb and Selenium. In order to maintain compatibility between Selenium and Firefox, I want to maintain both of them at a specific version and stop Firefox auto-upgrades.

Currently, I am installing Firefox by the following steps:

  1. Downloading a specific version of Firefox (wget http://kickstart/redhat/enterprise/fupdates/5.4C/x86_64/firefox-31.6.0-2.0.el5amzn.x86_64.rpm).
  2. Installing the downloaded version (rpm -i firefox-31.6.0-2.0.el5amzn.x86_64.rpm).

"app.update.auto", "app.update.enabled" and "app.update.silent" configuration parameters (in "about:config") of the Firefox profile are disabled by default. Does that mean it would not be auto-updated? Is it the case with such types of installation?

Any recommendation would be helpful.

Upvotes: 2

Views: 4951

Answers (3)

camino
camino

Reputation: 10594

In linux, one solution is that after you download firefox and extract it (you can download tar from here). Then change the owner and group to root, for example:

find .|xargs sudo chown root
find .|xargs sudo chgrp root

Because of the permission, firefox cannot update now

Upvotes: 1

Mahbub Rahman
Mahbub Rahman

Reputation: 1343

When installing Firefox, choose the customize radio button instead of default installation may be in 2nd or 3rd screen of the installation wizard and uncheck Mozilla/Firefox maintenance service. It will certainly work.

Good luck

Upvotes: 0

Amol Chavan
Amol Chavan

Reputation: 3980

You can set these prefs in about:config to disable automatic updating:

app.update.auto - false
app.update.enabled - false
app.update.silent - false

You need to enter about:config in the address bar and then search for each pref in a list.

Upvotes: 3

Related Questions