Installing Firefox 6.0 under Red Hat Enterprise Linux 6.x
If you’re actually trying to install another version of Firefox, then click on the
Firefox tag, as there may be an entry on that other version.
Since I am now principally using Fedora, I'd not planned to continue my entries on installing Firefox on RHEL. But people continue to visit this 'blog for help on just that, and since I do also run Scientific Linux (a close clone of RHEL), I can still investigate what procedure will work (though this entry might more cautiously be entitled
Installing Firefox 6.0 under Scientific Linux 6.x). (I don't plan to go back and add an entry on installing Firefox 5.x, but since the procedure for Firefox 6.0 proves to be the same, except for the name of the archive, as that for 4.0, I believe that one can infer that it is likewise the same for 5.x.)
In any case, here are the steps that I recommend:
- Download the archive, firefox-6.0[.n].tar.bz2.
- The tarball contains a directory,
firefox, which should be dropped-in as a sub-directory of something. If you want to ponder where, then study the FHS. As for me, as root, I put it in
tar -xjvf firefox-6.0[.n].tar.bz2 -C /opt/
[.n]if it isn’t in the name of the archive that you downloaded. Replace it with the actual number from the name of the archive if such a number was included.)
- You’ll need a
.desktopfile for Firefox (though you may already have one). As root, edit/create
/usr/share/applications/firefox.desktop, ensuring that it reads
[Desktop Entry] Categories=Application;Network;X-Red-Hat-Base; Type=Application Encoding=UTF-8 Name=Firefox Comment='WWW browser' Exec='/opt/firefox/firefox' Icon='/opt/firefox/icons/mozicon128.png' Terminal=false
(If you didn't install in
/opt, or changed the name of the
firefoxdirectory, then you'll need to change the above accordingly.)
- Restart the GUI, by logging out and back in or by restarting the system.