{"id":4188,"date":"2010-11-27T14:25:17","date_gmt":"2010-11-27T22:25:17","guid":{"rendered":"http:\/\/www.oeconomist.com\/blogs\/daniel\/?p=4188"},"modified":"2010-11-27T14:25:17","modified_gmt":"2010-11-27T22:25:17","slug":"installing-haskell-to-red-hat-enterprise-linux-6-x","status":"publish","type":"post","link":"https:\/\/www.oeconomist.com\/blogs\/daniel\/?p=4188","title":{"rendered":"Installing Haskell to Red Hat Enterprise Linux 6.x"},"content":{"rendered":"<p>I don't normally draw packages from <abbr title=\"Extra Packages for Enterprise Linux \">EPEL<\/abbr>, because some of them have conflicted with packages from other repositories that I use.  But packages for <a href=\"http:\/\/www.haskell.org\/\">Haskell<\/a> on <abbr title=\"Red Hat Enterprise Linux\">RHEL<\/abbr> can be found there, and I haven't found working <code>.RPM<\/code>s elswehere.  On the assumption that one is going to use those <abbr title=\"Extra Packages for Enterprise Linux \">EPEL<\/abbr> packages, <code>gmp-devel<\/code>, which is available from <abbr title=\"Red Hat Network\">RHN<\/abbr>, must be installed.  To do so, as root, enter <blockquote style=\"width: 91%; overflow: auto ; white-space: nowrap ;\"><code>yum install gmp-devel<\/code><\/blockquote><\/p> <p>There are at least a couple of ways to fetch and install the <abbr title=\"Extra Packages for Enterprise Linux \">EPEL<\/abbr> packages for Haskell.  I think that the easiest is to use <code>yum<\/code>.  As root, cre&auml;te a file <blockquote style=\"width: 91%; overflow: auto ; white-space: nowrap ;\"><code>\/etc\/yum.repos.d\/epel.repo<\/code><\/blockquote> with contents <blockquote style=\"width: 91%; overflow: auto ; white-space: nowrap ;\"><code>[epel]<br \/>name=RHEL 6 - epel - $releasever - $basearch<br \/>baseurl=http:\/\/download.fedoraproject.org\/pub\/epel\/beta\/6\/$basearch\/<br \/>gpgcheck=0<br \/>enabled=1<br \/>priority=1<br \/>exclude=*release<\/code><\/blockquote> Then as root enter <blockquote style=\"width: 91%; overflow: auto ; white-space: nowrap ;\"><code>yum install haskell-platform<\/code><\/blockquote> (After that, as root I delete that <code>.repo<\/code> file <blockquote style=\"width: 91%; overflow: auto ; white-space: nowrap ;\"><code>rm \/etc\/yum.repos.d\/epel.repo<\/code><\/blockquote> so as not to have those previously mentioned conflicts with packages from other repositories.)<\/p>","protected":false},"excerpt":{"rendered":"I don't normally draw packages from EPEL, because some of them have conflicted with packages from other repositories that I use. But packages for Haskell on RHEL can be found there, and I haven't found working .RPMs elswehere. On the assumption that one is going to use those EPEL packages, gmp-devel, which is available from [&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,916,140,143,142],"class_list":["post-4188","post","type-post","status-publish","format-standard","hentry","category-information-technology","category-public","tag-centos","tag-haskell","tag-red-hat","tag-redhat","tag-rhel"],"_links":{"self":[{"href":"https:\/\/www.oeconomist.com\/blogs\/daniel\/index.php?rest_route=\/wp\/v2\/posts\/4188","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=4188"}],"version-history":[{"count":0,"href":"https:\/\/www.oeconomist.com\/blogs\/daniel\/index.php?rest_route=\/wp\/v2\/posts\/4188\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.oeconomist.com\/blogs\/daniel\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=4188"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.oeconomist.com\/blogs\/daniel\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=4188"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.oeconomist.com\/blogs\/daniel\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=4188"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}