|
Just Beginning
Introduction Read this first before you try Ubuntu*
Which Ubuntu to pick?
Ubuntu inside Windows
Install Software
Security in Ubuntu
Where's the Terminal? Next Steps Beyond the Basics Playing Around Troubleshooting * Off-site link |
Installing Mozilla's Firefox on Ubuntu
Why would you want to install the Mozilla version of Firefox?
Why would you want to install the Mozilla version of Firefox? Some people like to use the Mozilla version because they think it gives better performance. Others want a newer version of Firefox than their version of Ubuntu will offer. Whatever your reasons, this page should help you get the latest Mozilla build of Firefox installed on your system properly.
Copy and paste terminal commands These commands assume you've downloaded the Firefox .tar.bz2 file to your home directory (/home/username/):
cp -R ~/.mozilla ~/.mozilla.backup
That's it.
sudo tar -jxvf firefox-3*.tar.bz2 -C /opt rm firefox-3*.tar.bz2 sudo mv /opt/firefox/plugins /opt/firefox/plugins.backup sudo ln -s /usr/lib/xulrunner-addons/plugins /opt/firefox/plugins sudo dpkg-divert --divert /usr/bin/firefox.ubuntu --rename /usr/bin/firefox sudo ln -s /opt/firefox/firefox /usr/bin/firefox If you want more explanation as to what these commands actually do, you can read more on the Ubuntu wiki.
Notes
Commands to remove Mozilla's version sudo rm /usr/bin/firefox It's very important that you paste that last command. Do not retype it, as altering the command in any way (pressing Enter prematurely by accident, for example) could delete more than Mozilla's Firefox.
sudo dpkg-divert --rename --remove /usr/bin/firefox sudo rm -r /opt/firefox I've generally found that Firefox profiles work (apart from no-longer-compatible extensions) from version to version of Firefox, but if you have a corrupt Firefox profile and if you used the cp -R ~/.mozilla ~/.mozilla.backup command to back up your Firefox settings before installing the Mozilla version, then you can restore your old settings with these commands: mv ~/.mozilla ~/.mozilla.mozillafirefox
mv ~/.mozilla.backup ~/.mozilla
Use a script to automate the commands It takes a bit longer, but it's slightly different from just copying and pasting the instructions:
|
|
If you have suggestions or corrections for these tutorials, please post in this Ubuntu Forums thread or leave a comment on my blog. |
|