FirefoxNewVersion

Differences between revisions 1 and 25 (spanning 24 versions)
Revision 1 as of 2005-10-20 02:17:03
Size: 1237
Editor: i-83-67-74-181
Comment: Transferred from LowEndSystemSupport
Revision 25 as of 2005-12-05 02:58:08
Size: 4362
Editor: dhcp0534
Comment:
Deletions are marked like this. Additions are marked like this.
Line 2: Line 2:
For some reason, the mozilla.org build of Firefox is significantly faster. The disadvantage is you will no longer get automatic updates through the repositories (but firefox itself has a built into auto-updater). For some reason, the mozilla.org build of Firefox is significantly faster than the default Ubuntu one. Firefox 1.5 is even faster, and has many new features. These instructions lead you through installing Firefox 1.5 final, but should also work for 1.0.7 or any other version.
Line 4: Line 4:
These instructions lead you through installing Firefox 1.5 beta 2, but should also work for 1.0.7 or any other version.
 * First, back up your bookmarks and settings - you'll need to remove ~/.mozilla once the new version is installed. The bookmarks file is ~/.mozilla/firefox/xxxxxxxx.default/bookmarks.html
 * Download firefox-1.5b2.tar.gz from mozilla.org
=== Notes ===
 * You will no longer get automatic updates through the repositories (but firefox itself has a built into auto-updater).
 * To get firefox's own update/autoupdate to work at all, you have two choices (choose one):
   *You have to make sure that the /opt/firefox directory has 'writing' permissions & ownership set for the user instead of the root (e.g. to change ownership, after installation:
  {{{
  sudo chown -R username:username /opt/firefox
  }}}
  but I do not know about the security implications ('''a virus may now replace or corrupt your firefox without root privileges''')!
  * An alternative to the above method is to run firefox with sudo to get the updates. That is, when there is an update available, you would run {{{sudo firefox}}}, install the update (Help -> Check for Updates...), close firefox, and then restart firefox as a normal user. You should NOT browse other websites while you are running firefox with sudo. (The author does not know whether this method is any safer/more secure than the first method).
 * The Totem video plugin doesn't seem to work with firefox 1.5. You may want to install package 'mozilla-mplayer' instead before you start.
 * You need package 'libstdc++5' installed.
 * If you are using scim-1.0.2 as your input method platform, firefox will crash on startup.
=== Installing ===
 * First, back up your bookmarks and settings:
 {{{
 cd ~/.mozilla/firefox/*.default
 mkdir ~/Desktop/ffsettings
 cp bookmarks.html cert8.db cookies.txt formhistory.dat key3.db signons.txt history.dat mimeTypes.rdf ~/Desktop/ffsettings
 }}}
 * Download firefox-1.5.tar.gz from mozilla.org, and change to the directory you downloaded it to.
Line 9: Line 26:
 sudo cp firefox-1.5b2.tar.gz /opt/  sudo cp firefox-1.5.tar.gz /opt/
Line 11: Line 28:
 sudo tar xzvf firefox-1.5b2.tar.gz
 sudo rm firefox-1.5b2.tar.gz
 sudo tar xzvf firefox-1.5.tar.gz
 sudo rm firefox-1.5.tar.gz
Line 14: Line 31:
 * Copy your plugins across:  * Link to your plugins (and remove totem-mozilla as it doesn't seem to work with Firefox 1.5):
Line 16: Line 33:
 cd /usr/lib/mozilla-firefox/plugins/
 sudo cp * /opt/firefox/plugins/
 cd /opt/firefox/plugins/
 sudo ln -s
/usr/lib/mozilla-firefox/plugins/* .
 sudo rm libtotem_mozilla.*
Line 29: Line 47:
 * Try it out:  * Try it out: :-)
Line 33: Line 51:
 *Restore your old data:
 {{{
 cd ~/Desktop/ffsettings
 mv * ~/.mozilla/firefox/*.default
 }}}
 This step can only be done after running firefox atleast once and fully closing it.
 * To ensure that other programs use version 1.5 of firefox and not the old 1.07 version, go to Preferences -> Preferred Applications in the System menu. For the "Web Browser" tab, choose "Custom" and then enter the command:
 {{{
 firefox %s
 }}}
 * Firefox 1.5 should now be installed and working properly. If for whatever reason you become unhappy with firefox 1.5 and would like to remove it, see the "Removing" section below for directions.

=== Removing ===
 * Restore the symbolic link:
 {{{
 sudo rm /usr/bin/firefox
 sudo dpkg-divert --rename --remove /usr/bin/firefox
 }}}
 * Restore your old profile:
 {{{
 cd
 mv .mozilla .mozilla-1.5
 mv .mozilla.ubuntu .mozilla
 }}}
 * (optional) Delete the firefox directory
 {{{
 sudo rm -r /opt/firefox
 }}}

Discuss at http://ubuntuforums.org/showthread.php?t=79283

== Installing Firefox as a debian package ==
It is nice to have a package (easier to upgrade, etc).
There is an experimental package building tool at [http://kidsquid.com/programs/ubuntu/firefox-1.5.0-0nonfree1_i386.tar.gz].
It can automatically download the i386 version of Firefox 1.5 (or you can copy in your existing Firefox download), then it will create a .deb package for it.
Follow the steps in the README to install the new package.
Please do not distribute any files created by this tool, as copying may violate the Firefox copyright.

----
CategoryDocumentation

Installing Firefox from mozilla.org

For some reason, the mozilla.org build of Firefox is significantly faster than the default Ubuntu one. Firefox 1.5 is even faster, and has many new features. These instructions lead you through installing Firefox 1.5 final, but should also work for 1.0.7 or any other version.

Notes

  • You will no longer get automatic updates through the repositories (but firefox itself has a built into auto-updater).
  • To get firefox's own update/autoupdate to work at all, you have two choices (choose one):
    • You have to make sure that the /opt/firefox directory has 'writing' permissions & ownership set for the user instead of the root (e.g. to change ownership, after installation:

    •   sudo chown -R username:username /opt/firefox

      but I do not know about the security implications (a virus may now replace or corrupt your firefox without root privileges)!

    • An alternative to the above method is to run firefox with sudo to get the updates. That is, when there is an update available, you would run sudo firefox, install the update (Help -> Check for Updates...), close firefox, and then restart firefox as a normal user. You should NOT browse other websites while you are running firefox with sudo. (The author does not know whether this method is any safer/more secure than the first method).

  • The Totem video plugin doesn't seem to work with firefox 1.5. You may want to install package 'mozilla-mplayer' instead before you start.
  • You need package 'libstdc++5' installed.
  • If you are using scim-1.0.2 as your input method platform, firefox will crash on startup.

Installing

  • First, back up your bookmarks and settings:
     cd ~/.mozilla/firefox/*.default
     mkdir ~/Desktop/ffsettings
     cp bookmarks.html cert8.db cookies.txt formhistory.dat key3.db signons.txt history.dat  mimeTypes.rdf ~/Desktop/ffsettings
  • Download firefox-1.5.tar.gz from mozilla.org, and change to the directory you downloaded it to.
  • Install it to /opt/firefox:
     sudo cp firefox-1.5.tar.gz /opt/
     cd /opt
     sudo tar xzvf firefox-1.5.tar.gz
     sudo rm firefox-1.5.tar.gz
  • Link to your plugins (and remove totem-mozilla as it doesn't seem to work with Firefox 1.5):
     cd /opt/firefox/plugins/
     sudo ln -s /usr/lib/mozilla-firefox/plugins/* .
     sudo rm libtotem_mozilla.*
  • Rename your old profile:
     cd
     mv .mozilla .mozilla.ubuntu
  • To ensure it is used as the default version, modify the symbolic link in /usr/bin:
     sudo dpkg-divert --divert /usr/bin/firefox.ubuntu --rename /usr/bin/firefox
     sudo ln -s /opt/firefox/firefox /usr/bin/firefox
  • Try it out: Smile :-)

     firefox
  • Restore your old data:
     cd ~/Desktop/ffsettings
     mv * ~/.mozilla/firefox/*.default
    This step can only be done after running firefox atleast once and fully closing it.
  • To ensure that other programs use version 1.5 of firefox and not the old 1.07 version, go to Preferences -> Preferred Applications in the System menu. For the "Web Browser" tab, choose "Custom" and then enter the command:

     firefox %s
  • Firefox 1.5 should now be installed and working properly. If for whatever reason you become unhappy with firefox 1.5 and would like to remove it, see the "Removing" section below for directions.

Removing

  • Restore the symbolic link:
     sudo rm /usr/bin/firefox
     sudo dpkg-divert --rename --remove /usr/bin/firefox
  • Restore your old profile:
     cd
     mv .mozilla .mozilla-1.5
     mv .mozilla.ubuntu .mozilla
  • (optional) Delete the firefox directory
     sudo rm -r /opt/firefox

Discuss at http://ubuntuforums.org/showthread.php?t=79283

Installing Firefox as a debian package

It is nice to have a package (easier to upgrade, etc). There is an experimental package building tool at [http://kidsquid.com/programs/ubuntu/firefox-1.5.0-0nonfree1_i386.tar.gz]. It can automatically download the i386 version of Firefox 1.5 (or you can copy in your existing Firefox download), then it will create a .deb package for it. Follow the steps in the README to install the new package. Please do not distribute any files created by this tool, as copying may violate the Firefox copyright.


CategoryDocumentation

FirefoxNewVersion (last edited 2008-08-06 16:31:56 by localhost)