{"id":5209,"date":"2011-09-29T18:57:48","date_gmt":"2011-09-30T02:57:48","guid":{"rendered":"http:\/\/www.oeconomist.com\/blogs\/daniel\/?p=5209"},"modified":"2012-01-25T06:04:56","modified_gmt":"2012-01-25T14:04:56","slug":"installing-firefox-7-0-under-rhel-scientific-linux-and-centos-6-x","status":"publish","type":"post","link":"https:\/\/www.oeconomist.com\/blogs\/daniel\/?p=5209","title":{"rendered":"Installing Firefox 7.0 under <abbr title=\"Red Hat Enterprise Linux\">RHEL<\/abbr>, Scientific Linux, and <abbr title=\"Community Enterprise Operating System\">CentOS<\/abbr> 6.x"},"content":{"rendered":"<p style=\"text-align: center ; font-weight: bolder ;\">If you&#8217;re actually trying to install another version of Firefox, then click on <a href=\"?tag=firefox\">the <q>Firefox<\/q> tag<\/a>, as there may be an entry on that other version.<\/p> <p>While my back was turned, <a href=\"http:\/\/www.mozilla.org\/\">Mozilla<\/a> released <a href=\"https:\/\/www.mozilla.org\/en-US\/firefox\/all.html\">Firefox<\/a> 7.0.<var>x<\/var>.  <a href=\"http:\/\/www.oeconomist.com\/blogs\/daniel\/?p=5084\">The installation method that worked for Firefox 6.0 under Scientific Linux 6.0 and 6.1<\/a> works, <span style=\"font-style: italic ;\">mutatis mutandis<\/span>, for Firefox 7.0.1 under Scientific Linux 6.1, and therefore ought to work for Firefox 7.0.<var>x<\/var> under <abbr title=\"Red Hat Enterprise Linux\">RHEL<\/abbr> 6.x and under <abbr title=\"Community Enterprise Operating System\">CentOS<\/abbr> 6.x.<\/p> <p>So here are the steps that I recommend:<\/p> <ol><li>Download <a href=\"http:\/\/www.mozilla.com\/en-US\/firefox\/all.html\">the archive, firefox-7.0<span style=\"font-style: italic ;\">&#91;<\/span>.<var>n<\/var><span style=\"font-style: italic ;\">&#93;<\/span>.tar.bz2<\/a>.<\/li> <li>The tarball contains a directory, <code>firefox<\/code>, which should be dropped-in as a sub-directory of <em>something<\/em>.  If you want to <em>ponder<\/em> where, then study <a href=\"http:\/\/www.pathname.com\/fhs\/\">the <abbr title=\"Filesystem Hierarchy Standard\">FHS<\/abbr><\/a>.  As for me, <em>as root<\/em>, I put it in <code>\/opt<\/code>:<br \/><blockquote style=\"width: 100%; overflow: auto;\"><code>tar&nbsp;-xjvf&nbsp;firefox-7.0<span style=\"font-style: italic ;\">&#91;<\/span>.<var>n<\/var><span style=\"font-style: italic ;\">&#93;<\/span>.tar.bz2&nbsp;-C&nbsp;\/opt\/<\/code><\/blockquote> <p> (Omit that <q><span style=\"font-style: italic ;\">&#91;<\/span>.<var>n<\/var><span style=\"font-style: italic ;\">&#93;<\/span><\/q> if it isn&#8217;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.)<\/p><\/li> <li>You&#8217;ll need a <a href=\"http:\/\/www.redhat.com\/magazine\/012oct05\/features\/freedesktop\/\"><code>.desktop<\/code> file<\/a> for <a href=\"http:\/\/www.mozilla.com\/en-US\/firefox\/all.html\">Firefox<\/a> (though you may already have one).  <em>As root<\/em>, edit\/create <code>\/usr\/share\/applications\/firefox.desktop<\/code>, ensuring that it reads<br \/><blockquote style=\"width: 100%; overflow: auto;\"><pre>[Desktop Entry]\r\nCategories=Application;Network;X-Red-Hat-Base;\r\nType=Application\r\nEncoding=UTF-8\r\nName=Firefox\r\nComment='WWW browser'\r\nExec='\/opt\/firefox\/firefox'\r\nIcon='\/opt\/firefox\/icons\/mozicon128.png'\r\nTerminal=false<\/pre><\/blockquote> <p>(If you didn't install in <code>\/opt<\/code>, or changed the name of the <code>firefox<\/code> directory, then you'll need to change the above accordingly.)<\/p><\/li> <li>Restart the <abbr title=\"graphic user interface\">GUI<\/abbr>, by logging out and back in or by restarting the system.<\/li><\/ol>","protected":false},"excerpt":{"rendered":"If you&#8217;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 [&hellip;]","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_bbp_topic_count":0,"_bbp_reply_count":0,"_bbp_total_topic_count":0,"_bbp_total_reply_count":0,"_bbp_voice_count":0,"_bbp_anonymous_reply_count":0,"_bbp_topic_count_hidden":0,"_bbp_reply_count_hidden":0,"_bbp_forum_subforum_count":0,"footnotes":""},"categories":[69,4],"tags":[915,253,72,140,143,142,997],"class_list":["post-5209","post","type-post","status-publish","format-standard","hentry","category-information-technology","category-public","tag-centos","tag-firefox","tag-linux","tag-red-hat","tag-redhat","tag-rhel","tag-scientific-linux"],"_links":{"self":[{"href":"https:\/\/www.oeconomist.com\/blogs\/daniel\/index.php?rest_route=\/wp\/v2\/posts\/5209","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.oeconomist.com\/blogs\/daniel\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.oeconomist.com\/blogs\/daniel\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.oeconomist.com\/blogs\/daniel\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.oeconomist.com\/blogs\/daniel\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=5209"}],"version-history":[{"count":0,"href":"https:\/\/www.oeconomist.com\/blogs\/daniel\/index.php?rest_route=\/wp\/v2\/posts\/5209\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.oeconomist.com\/blogs\/daniel\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=5209"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.oeconomist.com\/blogs\/daniel\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=5209"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.oeconomist.com\/blogs\/daniel\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=5209"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}