特殊:Badtitle/NS100:FirefoxNewVersion/MozillaBuilds
文章出处: |
{{#if: | {{{2}}} | https://help.ubuntu.com/community/FirefoxNewVersion/MozillaBuilds }} |
点击翻译: |
English {{#ifexist: {{#if: UbuntuHelp:FirefoxNewVersion/MozillaBuilds | UbuntuHelp:FirefoxNewVersion/MozillaBuilds | {{#if: | :}}FirefoxNewVersion/MozillaBuilds}}/af | • {{#if: UbuntuHelp:FirefoxNewVersion/MozillaBuilds|Afrikaans| [[::FirefoxNewVersion/MozillaBuilds/af|Afrikaans]]}}|}} {{#ifexist: {{#if: UbuntuHelp:FirefoxNewVersion/MozillaBuilds | UbuntuHelp:FirefoxNewVersion/MozillaBuilds | {{#if: | :}}FirefoxNewVersion/MozillaBuilds}}/ar | • {{#if: UbuntuHelp:FirefoxNewVersion/MozillaBuilds|العربية| [[::FirefoxNewVersion/MozillaBuilds/ar|العربية]]}}|}} {{#ifexist: {{#if: UbuntuHelp:FirefoxNewVersion/MozillaBuilds | UbuntuHelp:FirefoxNewVersion/MozillaBuilds | {{#if: | :}}FirefoxNewVersion/MozillaBuilds}}/az | • {{#if: UbuntuHelp:FirefoxNewVersion/MozillaBuilds|azərbaycanca| [[::FirefoxNewVersion/MozillaBuilds/az|azərbaycanca]]}}|}} {{#ifexist: {{#if: UbuntuHelp:FirefoxNewVersion/MozillaBuilds | UbuntuHelp:FirefoxNewVersion/MozillaBuilds | {{#if: | :}}FirefoxNewVersion/MozillaBuilds}}/bcc | • {{#if: UbuntuHelp:FirefoxNewVersion/MozillaBuilds|جهلسری بلوچی| [[::FirefoxNewVersion/MozillaBuilds/bcc|جهلسری بلوچی]]}}|}} {{#ifexist: {{#if: UbuntuHelp:FirefoxNewVersion/MozillaBuilds | UbuntuHelp:FirefoxNewVersion/MozillaBuilds | {{#if: | :}}FirefoxNewVersion/MozillaBuilds}}/bg | • {{#if: UbuntuHelp:FirefoxNewVersion/MozillaBuilds|български| [[::FirefoxNewVersion/MozillaBuilds/bg|български]]}}|}} {{#ifexist: {{#if: UbuntuHelp:FirefoxNewVersion/MozillaBuilds | UbuntuHelp:FirefoxNewVersion/MozillaBuilds | {{#if: | :}}FirefoxNewVersion/MozillaBuilds}}/br | • {{#if: UbuntuHelp:FirefoxNewVersion/MozillaBuilds|brezhoneg| [[::FirefoxNewVersion/MozillaBuilds/br|brezhoneg]]}}|}} {{#ifexist: {{#if: UbuntuHelp:FirefoxNewVersion/MozillaBuilds | UbuntuHelp:FirefoxNewVersion/MozillaBuilds | {{#if: | :}}FirefoxNewVersion/MozillaBuilds}}/ca | • {{#if: UbuntuHelp:FirefoxNewVersion/MozillaBuilds|català| [[::FirefoxNewVersion/MozillaBuilds/ca|català]]}}|}} {{#ifexist: {{#if: UbuntuHelp:FirefoxNewVersion/MozillaBuilds | UbuntuHelp:FirefoxNewVersion/MozillaBuilds | {{#if: | :}}FirefoxNewVersion/MozillaBuilds}}/cs | • {{#if: UbuntuHelp:FirefoxNewVersion/MozillaBuilds|čeština| [[::FirefoxNewVersion/MozillaBuilds/cs|čeština]]}}|}} {{#ifexist: {{#if: UbuntuHelp:FirefoxNewVersion/MozillaBuilds | UbuntuHelp:FirefoxNewVersion/MozillaBuilds | {{#if: | :}}FirefoxNewVersion/MozillaBuilds}}/de | • {{#if: UbuntuHelp:FirefoxNewVersion/MozillaBuilds|Deutsch| [[::FirefoxNewVersion/MozillaBuilds/de|Deutsch]]}}|}} {{#ifexist: {{#if: UbuntuHelp:FirefoxNewVersion/MozillaBuilds | UbuntuHelp:FirefoxNewVersion/MozillaBuilds | {{#if: | :}}FirefoxNewVersion/MozillaBuilds}}/el | • {{#if: UbuntuHelp:FirefoxNewVersion/MozillaBuilds|Ελληνικά| [[::FirefoxNewVersion/MozillaBuilds/el|Ελληνικά]]}}|}} {{#ifexist: {{#if: UbuntuHelp:FirefoxNewVersion/MozillaBuilds | UbuntuHelp:FirefoxNewVersion/MozillaBuilds | {{#if: | :}}FirefoxNewVersion/MozillaBuilds}}/es | • {{#if: UbuntuHelp:FirefoxNewVersion/MozillaBuilds|español| [[::FirefoxNewVersion/MozillaBuilds/es|español]]}}|}} {{#ifexist: {{#if: UbuntuHelp:FirefoxNewVersion/MozillaBuilds | UbuntuHelp:FirefoxNewVersion/MozillaBuilds | {{#if: | :}}FirefoxNewVersion/MozillaBuilds}}/fa | • {{#if: UbuntuHelp:FirefoxNewVersion/MozillaBuilds|فارسی| [[::FirefoxNewVersion/MozillaBuilds/fa|فارسی]]}}|}} {{#ifexist: {{#if: UbuntuHelp:FirefoxNewVersion/MozillaBuilds | UbuntuHelp:FirefoxNewVersion/MozillaBuilds | {{#if: | :}}FirefoxNewVersion/MozillaBuilds}}/fi | • {{#if: UbuntuHelp:FirefoxNewVersion/MozillaBuilds|suomi| [[::FirefoxNewVersion/MozillaBuilds/fi|suomi]]}}|}} {{#ifexist: {{#if: UbuntuHelp:FirefoxNewVersion/MozillaBuilds | UbuntuHelp:FirefoxNewVersion/MozillaBuilds | {{#if: | :}}FirefoxNewVersion/MozillaBuilds}}/fr | • {{#if: UbuntuHelp:FirefoxNewVersion/MozillaBuilds|français| [[::FirefoxNewVersion/MozillaBuilds/fr|français]]}}|}} {{#ifexist: {{#if: UbuntuHelp:FirefoxNewVersion/MozillaBuilds | UbuntuHelp:FirefoxNewVersion/MozillaBuilds | {{#if: | :}}FirefoxNewVersion/MozillaBuilds}}/gu | • {{#if: UbuntuHelp:FirefoxNewVersion/MozillaBuilds|ગુજરાતી| [[::FirefoxNewVersion/MozillaBuilds/gu|ગુજરાતી]]}}|}} {{#ifexist: {{#if: UbuntuHelp:FirefoxNewVersion/MozillaBuilds | UbuntuHelp:FirefoxNewVersion/MozillaBuilds | {{#if: | :}}FirefoxNewVersion/MozillaBuilds}}/he | • {{#if: UbuntuHelp:FirefoxNewVersion/MozillaBuilds|עברית| [[::FirefoxNewVersion/MozillaBuilds/he|עברית]]}}|}} {{#ifexist: {{#if: UbuntuHelp:FirefoxNewVersion/MozillaBuilds | UbuntuHelp:FirefoxNewVersion/MozillaBuilds | {{#if: | :}}FirefoxNewVersion/MozillaBuilds}}/hu | • {{#if: UbuntuHelp:FirefoxNewVersion/MozillaBuilds|magyar| [[::FirefoxNewVersion/MozillaBuilds/hu|magyar]]}}|}} {{#ifexist: {{#if: UbuntuHelp:FirefoxNewVersion/MozillaBuilds | UbuntuHelp:FirefoxNewVersion/MozillaBuilds | {{#if: | :}}FirefoxNewVersion/MozillaBuilds}}/id | • {{#if: UbuntuHelp:FirefoxNewVersion/MozillaBuilds|Bahasa Indonesia| [[::FirefoxNewVersion/MozillaBuilds/id|Bahasa Indonesia]]}}|}} {{#ifexist: {{#if: UbuntuHelp:FirefoxNewVersion/MozillaBuilds | UbuntuHelp:FirefoxNewVersion/MozillaBuilds | {{#if: | :}}FirefoxNewVersion/MozillaBuilds}}/it | • {{#if: UbuntuHelp:FirefoxNewVersion/MozillaBuilds|italiano| [[::FirefoxNewVersion/MozillaBuilds/it|italiano]]}}|}} {{#ifexist: {{#if: UbuntuHelp:FirefoxNewVersion/MozillaBuilds | UbuntuHelp:FirefoxNewVersion/MozillaBuilds | {{#if: | :}}FirefoxNewVersion/MozillaBuilds}}/ja | • {{#if: UbuntuHelp:FirefoxNewVersion/MozillaBuilds|日本語| [[::FirefoxNewVersion/MozillaBuilds/ja|日本語]]}}|}} {{#ifexist: {{#if: UbuntuHelp:FirefoxNewVersion/MozillaBuilds | UbuntuHelp:FirefoxNewVersion/MozillaBuilds | {{#if: | :}}FirefoxNewVersion/MozillaBuilds}}/ko | • {{#if: UbuntuHelp:FirefoxNewVersion/MozillaBuilds|한국어| [[::FirefoxNewVersion/MozillaBuilds/ko|한국어]]}}|}} {{#ifexist: {{#if: UbuntuHelp:FirefoxNewVersion/MozillaBuilds | UbuntuHelp:FirefoxNewVersion/MozillaBuilds | {{#if: | :}}FirefoxNewVersion/MozillaBuilds}}/ksh | • {{#if: UbuntuHelp:FirefoxNewVersion/MozillaBuilds|Ripoarisch| [[::FirefoxNewVersion/MozillaBuilds/ksh|Ripoarisch]]}}|}} {{#ifexist: {{#if: UbuntuHelp:FirefoxNewVersion/MozillaBuilds | UbuntuHelp:FirefoxNewVersion/MozillaBuilds | {{#if: | :}}FirefoxNewVersion/MozillaBuilds}}/mr | • {{#if: UbuntuHelp:FirefoxNewVersion/MozillaBuilds|मराठी| [[::FirefoxNewVersion/MozillaBuilds/mr|मराठी]]}}|}} {{#ifexist: {{#if: UbuntuHelp:FirefoxNewVersion/MozillaBuilds | UbuntuHelp:FirefoxNewVersion/MozillaBuilds | {{#if: | :}}FirefoxNewVersion/MozillaBuilds}}/ms | • {{#if: UbuntuHelp:FirefoxNewVersion/MozillaBuilds|Bahasa Melayu| [[::FirefoxNewVersion/MozillaBuilds/ms|Bahasa Melayu]]}}|}} {{#ifexist: {{#if: UbuntuHelp:FirefoxNewVersion/MozillaBuilds | UbuntuHelp:FirefoxNewVersion/MozillaBuilds | {{#if: | :}}FirefoxNewVersion/MozillaBuilds}}/nl | • {{#if: UbuntuHelp:FirefoxNewVersion/MozillaBuilds|Nederlands| [[::FirefoxNewVersion/MozillaBuilds/nl|Nederlands]]}}|}} {{#ifexist: {{#if: UbuntuHelp:FirefoxNewVersion/MozillaBuilds | UbuntuHelp:FirefoxNewVersion/MozillaBuilds | {{#if: | :}}FirefoxNewVersion/MozillaBuilds}}/no | • {{#if: UbuntuHelp:FirefoxNewVersion/MozillaBuilds|norsk| [[::FirefoxNewVersion/MozillaBuilds/no|norsk]]}}|}} {{#ifexist: {{#if: UbuntuHelp:FirefoxNewVersion/MozillaBuilds | UbuntuHelp:FirefoxNewVersion/MozillaBuilds | {{#if: | :}}FirefoxNewVersion/MozillaBuilds}}/oc | • {{#if: UbuntuHelp:FirefoxNewVersion/MozillaBuilds|occitan| [[::FirefoxNewVersion/MozillaBuilds/oc|occitan]]}}|}} {{#ifexist: {{#if: UbuntuHelp:FirefoxNewVersion/MozillaBuilds | UbuntuHelp:FirefoxNewVersion/MozillaBuilds | {{#if: | :}}FirefoxNewVersion/MozillaBuilds}}/pl | • {{#if: UbuntuHelp:FirefoxNewVersion/MozillaBuilds|polski| [[::FirefoxNewVersion/MozillaBuilds/pl|polski]]}}|}} {{#ifexist: {{#if: UbuntuHelp:FirefoxNewVersion/MozillaBuilds | UbuntuHelp:FirefoxNewVersion/MozillaBuilds | {{#if: | :}}FirefoxNewVersion/MozillaBuilds}}/pt | • {{#if: UbuntuHelp:FirefoxNewVersion/MozillaBuilds|português| [[::FirefoxNewVersion/MozillaBuilds/pt|português]]}}|}} {{#ifexist: {{#if: UbuntuHelp:FirefoxNewVersion/MozillaBuilds | UbuntuHelp:FirefoxNewVersion/MozillaBuilds | {{#if: | :}}FirefoxNewVersion/MozillaBuilds}}/ro | • {{#if: UbuntuHelp:FirefoxNewVersion/MozillaBuilds|română| [[::FirefoxNewVersion/MozillaBuilds/ro|română]]}}|}} {{#ifexist: {{#if: UbuntuHelp:FirefoxNewVersion/MozillaBuilds | UbuntuHelp:FirefoxNewVersion/MozillaBuilds | {{#if: | :}}FirefoxNewVersion/MozillaBuilds}}/ru | • {{#if: UbuntuHelp:FirefoxNewVersion/MozillaBuilds|русский| [[::FirefoxNewVersion/MozillaBuilds/ru|русский]]}}|}} {{#ifexist: {{#if: UbuntuHelp:FirefoxNewVersion/MozillaBuilds | UbuntuHelp:FirefoxNewVersion/MozillaBuilds | {{#if: | :}}FirefoxNewVersion/MozillaBuilds}}/si | • {{#if: UbuntuHelp:FirefoxNewVersion/MozillaBuilds|සිංහල| [[::FirefoxNewVersion/MozillaBuilds/si|සිංහල]]}}|}} {{#ifexist: {{#if: UbuntuHelp:FirefoxNewVersion/MozillaBuilds | UbuntuHelp:FirefoxNewVersion/MozillaBuilds | {{#if: | :}}FirefoxNewVersion/MozillaBuilds}}/sq | • {{#if: UbuntuHelp:FirefoxNewVersion/MozillaBuilds|shqip| [[::FirefoxNewVersion/MozillaBuilds/sq|shqip]]}}|}} {{#ifexist: {{#if: UbuntuHelp:FirefoxNewVersion/MozillaBuilds | UbuntuHelp:FirefoxNewVersion/MozillaBuilds | {{#if: | :}}FirefoxNewVersion/MozillaBuilds}}/sr | • {{#if: UbuntuHelp:FirefoxNewVersion/MozillaBuilds|српски / srpski| [[::FirefoxNewVersion/MozillaBuilds/sr|српски / srpski]]}}|}} {{#ifexist: {{#if: UbuntuHelp:FirefoxNewVersion/MozillaBuilds | UbuntuHelp:FirefoxNewVersion/MozillaBuilds | {{#if: | :}}FirefoxNewVersion/MozillaBuilds}}/sv | • {{#if: UbuntuHelp:FirefoxNewVersion/MozillaBuilds|svenska| [[::FirefoxNewVersion/MozillaBuilds/sv|svenska]]}}|}} {{#ifexist: {{#if: UbuntuHelp:FirefoxNewVersion/MozillaBuilds | UbuntuHelp:FirefoxNewVersion/MozillaBuilds | {{#if: | :}}FirefoxNewVersion/MozillaBuilds}}/th | • {{#if: UbuntuHelp:FirefoxNewVersion/MozillaBuilds|ไทย| [[::FirefoxNewVersion/MozillaBuilds/th|ไทย]]}}|}} {{#ifexist: {{#if: UbuntuHelp:FirefoxNewVersion/MozillaBuilds | UbuntuHelp:FirefoxNewVersion/MozillaBuilds | {{#if: | :}}FirefoxNewVersion/MozillaBuilds}}/tr | • {{#if: UbuntuHelp:FirefoxNewVersion/MozillaBuilds|Türkçe| [[::FirefoxNewVersion/MozillaBuilds/tr|Türkçe]]}}|}} {{#ifexist: {{#if: UbuntuHelp:FirefoxNewVersion/MozillaBuilds | UbuntuHelp:FirefoxNewVersion/MozillaBuilds | {{#if: | :}}FirefoxNewVersion/MozillaBuilds}}/vi | • {{#if: UbuntuHelp:FirefoxNewVersion/MozillaBuilds|Tiếng Việt| [[::FirefoxNewVersion/MozillaBuilds/vi|Tiếng Việt]]}}|}} {{#ifexist: {{#if: UbuntuHelp:FirefoxNewVersion/MozillaBuilds | UbuntuHelp:FirefoxNewVersion/MozillaBuilds | {{#if: | :}}FirefoxNewVersion/MozillaBuilds}}/yue | • {{#if: UbuntuHelp:FirefoxNewVersion/MozillaBuilds|粵語| [[::FirefoxNewVersion/MozillaBuilds/yue|粵語]]}}|}} {{#ifexist: {{#if: UbuntuHelp:FirefoxNewVersion/MozillaBuilds | UbuntuHelp:FirefoxNewVersion/MozillaBuilds | {{#if: | :}}FirefoxNewVersion/MozillaBuilds}}/zh | • {{#if: UbuntuHelp:FirefoxNewVersion/MozillaBuilds|中文| [[::FirefoxNewVersion/MozillaBuilds/zh|中文]]}}|}} {{#ifexist: {{#if: UbuntuHelp:FirefoxNewVersion/MozillaBuilds | UbuntuHelp:FirefoxNewVersion/MozillaBuilds | {{#if: | :}}FirefoxNewVersion/MozillaBuilds}}/zh-hans | • {{#if: UbuntuHelp:FirefoxNewVersion/MozillaBuilds|中文(简体)| [[::FirefoxNewVersion/MozillaBuilds/zh-hans|中文(简体)]]}}|}} {{#ifexist: {{#if: UbuntuHelp:FirefoxNewVersion/MozillaBuilds | UbuntuHelp:FirefoxNewVersion/MozillaBuilds | {{#if: | :}}FirefoxNewVersion/MozillaBuilds}}/zh-hant | • {{#if: UbuntuHelp:FirefoxNewVersion/MozillaBuilds|中文(繁體)| [[::FirefoxNewVersion/MozillaBuilds/zh-hant|中文(繁體)]]}}|}} |
{{#ifeq:UbuntuHelp:FirefoxNewVersion/MozillaBuilds|:FirefoxNewVersion/MozillaBuilds|请不要直接编辑翻译本页,本页将定期与来源同步。}} |
{{#ifexist: :FirefoxNewVersion/MozillaBuilds/zh | | {{#ifexist: FirefoxNewVersion/MozillaBuilds/zh | | {{#ifeq: {{#titleparts:FirefoxNewVersion/MozillaBuilds|1|-1|}} | zh | | }} }} }} {{#ifeq: {{#titleparts:FirefoxNewVersion/MozillaBuilds|1|-1|}} | zh | | }}
This page describes how to run Mozilla builds of Firefox in Ubuntu. This can be useful if you want to check whether a bug exists in upstream versions of Firefox.
Instructions
Running Mozilla builds of Firefox is not recommended.>See the recommended procedure for getting Firefox. |
Installation
The following instructions will install Firefox in your home directory, and will use a different profile for Mozilla and Ubuntu builds of Firefox.
- Go to the Firefox download page
- Download Firefox for Linux
- Extract the file you downloaded into `~/firefox` (e.g. by doing `tar jxf firefox*.tar.bz2 -C $HOME`)
- Make a backup of your `~/.mozilla` directory (e.g. by doing `tar zcPf ~/mozilla-backup-$(date +%s).tar.gz ~/.mozilla`)
Next, if this is the first time you have installed a Mozilla build, do the following:
- Run `~/firefox/firefox -ProfileManager` to start the Firefox profile manager
- Create a new profile called mozilla-build
- Make sure that the default profile is still selected
- Click exit to close the profile manager (do not start Firefox)
- Run the following shell script:
mkdir ~/bin cat > ~/bin/firefox <<END #!/bin/bash exec "\$HOME/firefox/firefox" -P mozilla-build "\$@" END chmod 755 ~/bin/firefox
The `firefox` command in your `~/bin` directory will now run Firefox with the mozilla-build profile.
Uninstallation
- Delete the `~/firefox` directory and the `~/bin/firefox` file
- Run `firefox -ProfileManager` and delete mozilla-build
This completely uninstalls the Mozilla build of Firefox. If you install a Mozilla build in future, you will need to perform all of the instructions above, including the first time instructions.
Restore your old profile
To restore the backup of your profile, do the following:
- Close any open Firefox windows
- Rename `~/.mozilla` (e.g. `mv ~/.mozilla ~/.mozilla-broken`)
- Extract your archive (e.g. by doing `tar zxPf ~/mozilla-backup-``DATE``.tar.gz`
This will completely reset your Firefox profile to the point when you made the backup.
Rationale
There are many ways to run Mozilla builds alongside Ubuntu builds, depending on your needs. This section will discuss some of the choices made in the above instructions. The guide recommends that you back your Mozilla profile up. Regular backups are always recommended, especially before a major software upgrade. Special precaution is necessary here because new versions of Firefox can make backwards-incompatible changes to profiles. For example, you should avoid using Firefox 3 on a profile that's been used with Firefox 3.5<<FootNote(http://irclogs.ubuntu.com/2009/07/08/%23ubuntu-mozillateam.html (search for profile damage))>>. The guide recommends extracting Firefox into your home directory. This is because extracting to another location (such as `/usr/local`) would require super-user permissions, without any benefit in the single-user case. If you want to provide new versions of Firefox on a multiple-user system, you are urged to use the recommended procedure. Installing non-Ubuntu software on a multi-user system massively increases your administrative burden - for example, you put your users at risk unless you manually update programs every time there's an update. The guide recommends that you create a `mozilla-build` profile for the downloaded version of Firefox. This is partially because of the above-mentioned compatibility issues, and partially because debugging Firefox is much easier with a fresh profile.
UbuntuZilla
An alternative way of installing a Mozilla build is to use UbuntuZilla. !UbuntuZilla automates the installation process for Mozilla builds of Firefox, !SeaMonkey, and Thunderbird on Ubuntu. Unlike the above instructions, !UbuntuZilla is designed for ordinary users that want to use a Mozilla build as their default browser. See the UbuntuZilla website for features and usage instructions.