ERROR: Slooooow dooooown... this page load was delayed.


firefox-bin - Web browser from the Mozilla project ChangeLog

HOWTO


# Firefox 2.0.0.13
# ================
# Binary instructions are provided below.  The usually outdated Firefox
# source instructions are: here.

# Prerequisites:
# One day I'll look through the release notes and such and will list every
# prerequisite that I know of that the binary version requires.  Until then
# look at the source howto.  If the list is not the same, it should be
# similar.

# I also have Seamonkey, a bunch of plugins, etc., etc. so I just throw all
# of it into ~/installed/mozilla/ and ~/src/mozilla/ so it's easier
# to find.  Feel free to not do that if that's not the case for you.

# The release notes for this one are here:
# http://www.mozilla.com/en-US/firefox/2.0.0.13/releasenotes/

# Create directory for the tarball
mkdir -p -m 0700 ~/installed/mozilla

cd
test -f installed/mozilla/firefox-2.0.0.13.tar.gz &&
mv installed/mozilla/firefox-2.0.0.13.tar.gz .
test ! -f firefox-2.0.0.13.tar.gz &&
wget http://ftp.mozilla.org/pub/mozilla.org/firefox/releases/2.0.0.13/\
linux-i686/en-US/firefox-2.0.0.13.tar.gz

# Verify tarball w/ md5sum:
echo "8f3b94e223b6c14501351c2c7d520de2  firefox-2.0.0.13.tar.gz" | \
md5sum -c

# Verify tarball w/ sha1sum:
echo "7f95255fe7fd211b52c2f68d894c4af3adf58b52  \
firefox-2.0.0.13.tar.gz" | sha1sum -c

# Verify tarball w/ gpg:
gpg --list-keys 17785FE8 > /dev/null 2>&1 ||
( wget -nc http://ftp.mozilla.org/pub/mozilla.org/firefox/releases/\
2.0.0.13/KEY
   gpg --import KEY && rm KEY )
wget -nc http://ftp.mozilla.org/pub/mozilla.org/firefox/releases/2.0.0.13/\
linux-i686/en-US/firefox-2.0.0.13.tar.gz.asc &&
gpg --verify firefox-2.0.0.13.tar.gz.asc && rm firefox-2.0.0.13.tar.gz.asc

# This version doesn't have an installer (nothing will go into ~/src)
test -d ~/src/mozilla/firefox && rm -r ~/src/mozilla/firefox
test -d ~/src/mozilla/firefox-installer &&
rm -r ~/src/mozilla/firefox-installer

# Become root to remove old files and to install it
su

# Back up the plugins that were installed for your previous version of
# Firefox.  Make sure this catches everything, and that you don't have any
# other files that need to be backed up.  The howto will "uninstall" the old
# version of Firefox as the developers suggest.
test -d ~/backup/firefox-plugins &&
mv -f ~/backup/firefox-plugins ~/backup/firefox-plugins-old
for ffdir in /usr/lib/firefox /usr/lib/firefox-?.* \
/usr/lib/mozilla-firefox /usr/local/firefox ; do
  test -d "${ffdir}/plugins" &&
   mkdir -p -m 0700 ~/backup/firefox-plugins &&
    cp -af ${ffdir}/plugins/* ~/backup/firefox-plugins/
done
test -f ~/backup/firefox-plugins/libnullplugin.so &&
rm ~/backup/firefox-plugins/libnullplugin.so

# Now make sure that Firefox is not running.  This should kill it if it is
# running, and should remove it if it's installed in a few common locations.
# removepkg will be run also in case you're replacing a Slackware package.
killall firefox firefox-bin
test -x /sbin/removepkg &&
/sbin/removepkg firefox firefox-plugins jre-symlink mozilla-firefox
find /usr/lib /usr/local/lib -maxdepth 1 -type d -name "firefox-*" \
-exec rm -r {} \;
test -d /usr/lib/firefox && rm -r /usr/lib/firefox
test -d /usr/local/firefox && rm -r /usr/local/firefox

# This will install it under /usr/local/firefox
tar xzvf firefox-2.0.0.13.tar.gz -C /usr/local
chown -R root:root /usr/local/firefox

# Create a symlink in a directory in your PATH so you can run 'firefox'
# without specifying the full path:
ln -sf /usr/local/firefox/firefox /usr/local/bin/firefox

# Restore your plugins (or reinstall them again) if you upgraded from an
# older version of Firefox:
test -d ~/backup/firefox-plugins &&
cp -a ~/backup/firefox-plugins/* /usr/local/firefox/plugins/

# Become yourself again
exit

# If your Firefox doesn't know what to do with mailto links, create a
# user.js file in your Firefox preferences directory
# (~/.mozilla/firefox/whateveritsnamed.default/) with a line like this
# in it:
# user_pref("network.protocol-handler.app.mailto","/usr/local/thunderbird/thunderbird");

## If you ever have trouble with Firefox, run it in "Safe Mode", which
## will disable all extensions and use the default theme:
# firefox -safe-mode

cd
mkdir -p -m 0700 installed
rm -f installed/firefox-?.*.tar.* \
installed/mozilla/firefox-?.*.tar.* \
installed/mozilla/firefox-*.installer.tar.*
mv firefox-2.0.0.13.tar.gz installed/mozilla/

# /usr/local/firefox/icons/mozicon50.xpm can be used as a desktop icon.
# I converted it to a png and put it here if you'd rather use that:
# http://englanders.cc/pub/linux/misc/firefox.png

# See the mozilla-plugins howto to set up plugins

List of HOWTOs

Web page itself last updated: 2023-12-20 8:06pm (EST -0500)
HOWTO last updated: 2008-03-31 3:03pm
Copyright © 2001-2024 Jason Englander. All Rights reserved.
[HTML5]