Posts Tagged ‘CentOS’

Installing Firefox 12.0 under RHEL, Scientific Linux, and CentOS 6.x

Tuesday, 24 April 2012

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.

The installation method that worked for Firefox 11.0 under Scientific Linux 6.1 works, mutatis mutandis, for Firefox 12.0 under Scientific Linux 6.1, and therefore ought to work for Firefox 12.0.x under RHEL 6.x and under CentOS 6.x.

So here are the steps that I recommend:

  1. Download the archive, firefox-12.0[.n].tar.bz2.
  2. 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-12.0[.n].tar.bz2 -C /opt/

    (Omit that [.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.)

  3. 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
    [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 firefox directory, then you'll need to change the above accordingly.)

  4. Restart the GUI, by logging out and back in or by restarting the system.

Installing Firefox 11.0 under RHEL, Scientific Linux, and CentOS 6.x

Sunday, 18 March 2012

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.

The installation method that worked for Firefox 10.0 under Scientific Linux 6.1 works, mutatis mutandis, for Firefox 11.0 under Scientific Linux 6.1, and therefore ought to work for Firefox 11.0.x under RHEL 6.x and under CentOS 6.x.

So here are the steps that I recommend:

  1. Download the archive, firefox-11.0[.n].tar.bz2.
  2. 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-11.0[.n].tar.bz2 -C /opt/

    (Omit that [.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.)

  3. 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
    [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 firefox directory, then you'll need to change the above accordingly.)

  4. Restart the GUI, by logging out and back in or by restarting the system.

Installing Firefox 10.0 under RHEL, Scientific Linux, and CentOS 6.x

Friday, 3 February 2012

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.

The installation method that worked for Firefox 9.0 under Scientific Linux 6.0 and 6.1 works, mutatis mutandis, for Firefox 10.0 under Scientific Linux 6.1, and therefore ought to work for Firefox 10.0.x under RHEL 6.x and under CentOS 6.x.

So here are the steps that I recommend:

  1. Download the archive, firefox-10.0[.n].tar.bz2.
  2. 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-10.0[.n].tar.bz2 -C /opt/

    (Omit that [.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.)

  3. 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
    [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 firefox directory, then you'll need to change the above accordingly.)

  4. Restart the GUI, by logging out and back in or by restarting the system.

Installing Firefox 9.0 under RHEL, Scientific Linux, and CentOS 6.x

Saturday, 24 December 2011

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.

The installation method that worked for Firefox 8.0.1 under Scientific Linux 6.0 and 6.1 works, mutatis mutandis, for Firefox 9.0 under Scientific Linux 6.1, and therefore ought to work for Firefox 9.0.x under RHEL 6.x and under CentOS 6.x.

So here are the steps that I recommend:

  1. Download the archive, firefox-9.0[.n].tar.bz2.
  2. 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-9.0[.n].tar.bz2 -C /opt/

    (Omit that [.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.)

  3. 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
    [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 firefox directory, then you'll need to change the above accordingly.)

  4. Restart the GUI, by logging out and back in or by restarting the system.

Installing Firefox 8.0 under RHEL, Scientific Linux, and CentOS 6.x

Thursday, 8 December 2011

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.

Once again, I was distracted as Mozilla released a new version of Firefox; this time, version 8.0.x. The installation method that worked for Firefox 7.0.1 under Scientific Linux 6.0 and 6.1 works, mutatis mutandis, for Firefox 8.0.1 under Scientific Linux 6.1, and therefore ought to work for Firefox 8.0.x under RHEL 6.x and under CentOS 6.x.

So here are the steps that I recommend:

  1. Download the archive, firefox-8.0[.n].tar.bz2.
  2. 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-8.0[.n].tar.bz2 -C /opt/

    (Omit that [.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.)

  3. 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
    [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 firefox directory, then you'll need to change the above accordingly.)

  4. Restart the GUI, by logging out and back in or by restarting the system.

Installing Firefox 7.0 under RHEL, Scientific Linux, and CentOS 6.x

Thursday, 29 September 2011

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.

While my back was turned, Mozilla released Firefox 7.0.x. The installation method that worked for Firefox 6.0 under Scientific Linux 6.0 and 6.1 works, mutatis mutandis, for Firefox 7.0.1 under Scientific Linux 6.1, and therefore ought to work for Firefox 7.0.x under RHEL 6.x and under CentOS 6.x.

So here are the steps that I recommend:

  1. Download the archive, firefox-7.0[.n].tar.bz2.
  2. 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-7.0[.n].tar.bz2 -C /opt/

    (Omit that [.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.)

  3. 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
    [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 firefox directory, then you'll need to change the above accordingly.)

  4. Restart the GUI, by logging out and back in or by restarting the system.

Installing Firefox 6.0 under Red Hat Enterprise Linux 6.x

Sunday, 28 August 2011

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:

  1. Download the archive, firefox-6.0[.n].tar.bz2.
  2. 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-6.0[.n].tar.bz2 -C /opt/

    (Omit that [.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.)

  3. 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
    [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 firefox directory, then you'll need to change the above accordingly.)

  4. Restart the GUI, by logging out and back in or by restarting the system.

Horizontal Move

Friday, 6 May 2011

My most recently activated license for RHEL expired within the last two or three days. I may have an unused license stashed somewhere, but I've been planning to migrate to some other distribution of Linux when this one expired, because I've been so unhappy with Red Hat's past ill-preparedness for demands upon their servers at times of new releases.

Gaal once suggested that I try a flavor of Linux, such as Ubuntu, that used a more-advanced package-management system, but I've been fairly comfortable with the package-management system (as such) used by RHEL, and I'm inclined to stick closer to familiar forms. (It is not the quality of Red Hat's released code that has alienated me.) I think that my decision will be one between Fedora and Scientific Linux.

Fedora is the source from which RHEL is derived; Fedora is bleeding edge. Scientific Linux and CentOS aim to be very close derivatives of RHEL. Scientific Linux seems to be the most effectively maintained; unfortunately, when last I checked, the developers of CentOS hadn't got a stable clone of RHEL 6.0 out the door yet, and some of the changes from RHEL 5.6 to 6.0 have been meaningful improvements for me. (StarCom Linux, another close derivative of RHEL, lags even further behind.)

I downloaded a live CD of Fedora and a live DVD of Scientific Linux, so that I could try each. There seemed to be no non-trivial difference in either case from the look-and-feel of RHEL.

Anyway, the choice would seem to be one of functionality (Fedora) vs reliability (Scientific Linux).

[Up-Date (2011:05/23): On 11 May, I installed Fedora. I've had a few mishaps with fonts, and the system has been a little flakier, but so far the marginal benefits have seemed to out-weigh the marginal costs. I've also been giving some thought to installing a larger hard-drive, with one or more additional partitions, for other *nixes.]

Installing Firefox 4.0 under Red Hat Enterprise Linux 6.x

Wednesday, 23 March 2011

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 a fair number of the hits to this 'blog are from searches as to how to install earlier versions of Firefox on earlier versions of RHEL, I'm going to infer that people are and will be surfing the WWWeb for instructions on how to install Firefox 4.0 under RHEL 6.x. Here are the steps that I recommend:

  1. Download the archive, firefox-4.0[.n].tar.bz2.
  2. 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-4.0[.n].tar.bz2 -C /opt/
    (Omit that [.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.)
  3. 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
    [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 firefox directory, then you'll need to change the above accordingly.)
  4. Log out and back in or restart the system (to up-date the GUI).

Installing OpenOffice 3.3.x under Red Hat Enterprise Linux 6.x

Friday, 11 February 2011

If you’re actually trying to install another version of OpenOffice or under a different version of RHEL, then click on the OpenOffice tag, as there may be an entry on that other version.

Because of a font-fallback problem with the combination of RHEL 6.0 and OpenOffice 3.2 or 3.3, I am considerably less happy with OpenOffice and more unhappy with Red Hat. But a fair number of the visits to this 'blog are by people looking to install OpenOffice on RHEL, so this entry updates my suggested procedure for installing OpenOffice 3.2.x under RHEL 6.x:

  1. If you don't have a JRE installed, then install one. As I write, Sun is at update 23 (while OpenOffice is at update 22), but check with Sun for a more recent version when you are installing OpenOffice. (I suggest that one use jdk-6uxx-linux-xxx-rpm.bin or jre-6uxx-linux-xxx-rpm.bin, rather than jre-6uxx-linux-xxx.bin.) The remainder of these instructions assume that one has a JRE installed.

  2. Remove any earlier installation of OpenOffice. As root, enter these three commands:

    rpm -qa | grep openoffice | xargs rpm -e --nodeps
    rpm -qa | grep ooobasis | xargs rpm -e --nodeps
    rpm -qa | grep fake-db | xargs rpm -e --nodeps

  3. Unpack OOo_3.3.x_Linux_x86_install_wJRE_en-US.tar.gz or OOo_3.3.x_Linux_x86-64_install_wJRE_en-US.tar.gz (or the version appropriate to a devil-language, if you use one of those) to your filespace.

  4. Go into resulting OOO33x_mxx_native_packed-x_en-US.xxxx/RPMS/ (or to the OOO33x_mxx_native_packed-x_xx-xx.xxxx/RPMS/ corresponding to your devil-tongue).

  5. As root, run these three commands

    find . -maxdepth 1 -name "o*.rpm" | xargs rpm -U
    rpm -U desktop-integration/openoffice.org*-redhat-menus-*.noarch.rpm
    rpm -U userland/*.rpm

  6. Tell OpenOffice which JRE to use:

    • Launch OpenOffice:
      /usr/bin/openoffice.org3
    • Select
      Tools | Options… | OpenOffice.org | Java | Use a Java runtime environment
    • Choose one of the environments that is then listed.
    • Click the OK button.
    • Shut-down OpenOffice. (The selection of JRE will be in effect upon next launch.)