Installing Firefox 3.0 under Red Hat Enterprise Linux 5.x
17 June 2008If 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.
[Update (2 Jul): Red Hat has released a Firefox 3.0 .rpm
, and I would recommend now using it.]
Firefox 3.0 has been released. I imagine that someone will soon provide an .rpm
; but, for now, Red Hat users will have to install things from a tarball.
- Download the archive, firefox-3.0.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/opt
:tar -xjvf firefox-3.0.tar.bz2 -C /opt/
- Make sure that you have
compat-libstdc++-33
(a Gnome C++ compatibility library):
If not, then as root install it:rpm -qa | grep compat-libstdc++-33
yum install compat-libstdc++-33
- To avoid conflicts with SELinux, as root run
(If you didn't install the directory inchcon -t textrel_shlib_t /opt/firefox/libxul.so
/opt
, or renamed thefirefox
directory, then you'll need to modify the above final argument tochcon
accordingly.) - You'll need a
.desktop
file for Firefox (though you may already have one). As root, edit/create/usr/share/applications/firefox.desktop
, ensuring that it reads
(Again, if you didn't install in[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
/opt
, or changed the name of thefirefox
directory, then you'll need to change the above accordingly.) - Log out and back in or restart the system (to up-date the GUI).
Leave a Reply