{"id":12965,"date":"2013-04-20T08:00:44","date_gmt":"2013-04-19T23:00:44","guid":{"rendered":"http:\/\/www.sssg.org\/blogs\/hiro345\/?p=12965"},"modified":"2013-10-11T13:04:35","modified_gmt":"2013-10-11T04:04:35","slug":"fedora18%e3%81%b8haskellghc-7-4-2-haskell-platform-2012-4-0-0-pandoc%e3%82%a4%e3%83%b3%e3%82%b9%e3%83%88%e3%83%bc%e3%83%ab","status":"publish","type":"post","link":"https:\/\/www.hiro345.net\/blogs\/hiro345\/archives\/12965.html","title":{"rendered":"Fedora18\u3078haskell(ghc-7.4.2), haskell-platform-2012.4.0.0, pandoc\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb"},"content":{"rendered":"<p>Fedora18\u3078haskell(ghc-7.4.2), haskell-platform-2012.4.0.0, pandoc\u3092\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3059\u308b\u306b\u306f\u3001\u6b21\u306e\u3088\u3046\u306a\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u30b9\u30af\u30ea\u30d7\u30c8\u3092\u7528\u610f\u3057\u3066\u5b9f\u884c\u3057\u307e\u3059\u3002<br \/>\n<!--more--><\/p>\n<pre class=\"brush: bash; gutter: true\">\r\n#!\/bin\/sh\r\nsudo yum -y install ghc\r\nsudo yum -y install freeglut-devel\r\n\r\nmkdir -p $HOME\/applications\/haskell\/src\r\ncd $HOME\/applications\/haskell\/src\r\nwget http:\/\/lambda.haskell.org\/platform\/download\/2012.4.0.0\/haskell-platform-2012.4.0.0.tar.gz\r\nwget http:\/\/www.haskell.org\/ghc\/dist\/7.4.2\/ghc-7.4.2-x86_64-unknown-linux.tar.bz2\r\ntar xf haskell-platform-2012.4.0.0.tar.gz\r\ntar xf ghc-7.4.2-x86_64-unknown-linux.tar.bz2\r\ncd $HOME\/applications\/haskell\/src\/ghc-7.4.2\/\r\n.\/configure --prefix=$HOME\/applications\/haskell\/ghc-7.4.2\r\nmake install\r\n \r\ncd $HOME\/applications\/haskell\/src\/haskell-platform-2012.4.0.0\/\r\nPATH=$HOME\/applications\/haskell\/ghc-7.4.2\/bin:$PATH .\/configure --prefix=$HOME\/applications\/haskell\/haskell-platform\r\nmake\r\nmake install\r\n \r\nPATH=$HOME\/applications\/haskell\/haskell-platform\/bin:$HOME\/.cabal\/bin:$PATH cabal update\r\nPATH=$HOME\/applications\/haskell\/haskell-platform\/bin:$HOME\/.cabal\/bin:$PATH cabal install cabal-install\r\nPATH=$HOME\/applications\/haskell\/haskell-platform\/bin:$HOME\/.cabal\/bin:$PATH cabal install pandoc\r\n<\/pre>\n<p>\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u304c\u3067\u304d\u305f\u3089\u3001\u4e0b\u8a18\u3092 .bash_profile \u306a\u3069\u3078\u8ffd\u52a0\u3057\u3066\u304a\u304d\u307e\u3059\u3002<\/p>\n<pre class=\"brush: bash; gutter: true\">\r\nPATH=$HOME\/applications\/haskell\/ghc-7.4.2\/bin:$PATH\r\nPATH=$HOME\/.cabal\/bin:$PATH\r\nexport $PATH\r\n<\/pre>\n","protected":false},"excerpt":{"rendered":"<p>Fedora18\u3078haskell(ghc-7.4.2), haskell-platform-2012.4.0.0, pandoc\u3092\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3059\u308b\u306b\u306f\u3001\u6b21\u306e\u3088\u3046\u306a\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u30b9\u30af\u30ea\u30d7\u30c8\u3092\u7528\u610f\u3057\u3066\u5b9f\u884c\u3057\u307e\u3059\u3002<\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[6],"tags":[842,546,841,780,676,731,815],"class_list":["post-12965","post","type-post","status-publish","format-standard","hentry","category-linux","tag-cabal","tag-fedora","tag-fedora18","tag-ghc","tag-haskell","tag-haskell-platform","tag-pandoc"],"_links":{"self":[{"href":"https:\/\/www.hiro345.net\/blogs\/hiro345\/wp-json\/wp\/v2\/posts\/12965","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.hiro345.net\/blogs\/hiro345\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.hiro345.net\/blogs\/hiro345\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.hiro345.net\/blogs\/hiro345\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/www.hiro345.net\/blogs\/hiro345\/wp-json\/wp\/v2\/comments?post=12965"}],"version-history":[{"count":7,"href":"https:\/\/www.hiro345.net\/blogs\/hiro345\/wp-json\/wp\/v2\/posts\/12965\/revisions"}],"predecessor-version":[{"id":14988,"href":"https:\/\/www.hiro345.net\/blogs\/hiro345\/wp-json\/wp\/v2\/posts\/12965\/revisions\/14988"}],"wp:attachment":[{"href":"https:\/\/www.hiro345.net\/blogs\/hiro345\/wp-json\/wp\/v2\/media?parent=12965"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.hiro345.net\/blogs\/hiro345\/wp-json\/wp\/v2\/categories?post=12965"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.hiro345.net\/blogs\/hiro345\/wp-json\/wp\/v2\/tags?post=12965"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}