GHC with cabal-install

Hello, To my experience, it is easy to install GHC to Linux such as CentOS. But it is hard to install cabal-install after that. Are there any reasons to not include cabal-install in GHC binary packages? GHC provides Cabal library. Why not cabal-install? --Kazu

On Thu, 26 Feb 2015, Kazu Yamamoto (山本和彦) wrote:
Hello,
To my experience, it is easy to install GHC to Linux such as CentOS. But it is hard to install cabal-install after that.
Are there any reasons to not include cabal-install in GHC binary packages?
GHC provides Cabal library. Why not cabal-install?
--Kazu
Kazu, I can't provide any guidance on what GHC might do, but I can from what other distributions have done. On both my Debian and Gentoo systems, there is a cabal-install package that is as easy to install as ghc. Perhaps CentOS could provide a similar package. I see that Fedora has a cabal-install package as well. Perhaps that could be added to epel or you could build it yourself for CentOS. Best, Jack

Hi Jack,
I can't provide any guidance on what GHC might do, but I can from what other distributions have done. On both my Debian and Gentoo systems, there is a cabal-install package that is as easy to install as ghc. Perhaps CentOS could provide a similar package. I see that Fedora has a cabal-install package as well. Perhaps that could be added to epel or you could build it yourself for CentOS.
In my CentOS 7: % yum search cabal No matches found % yum provides cabal No matches found Anyway, I would like to know reasons why the GHC binary package does not provide the cabal command. --Kazu

On Fri, 27 Feb 2015, Kazu Yamamoto (山本和彦) wrote:
Hi Jack,
I can't provide any guidance on what GHC might do, but I can from what other distributions have done. On both my Debian and Gentoo systems, there is a cabal-install package that is as easy to install as ghc. Perhaps CentOS could provide a similar package. I see that Fedora has a cabal-install package as well. Perhaps that could be added to epel or you could build it yourself for CentOS.
In my CentOS 7:
% yum search cabal No matches found % yum provides cabal No matches found
Anyway, I would like to know reasons why the GHC binary package does not provide the cabal command.
Ah, yes, I have no idea. This may help people get off the ground quicker. Would the Haskell Platform get you what you need? https://www.haskell.org/platform/linux.html You also may be interested in checking out EPEL (Fedora packages built for the Enterprise Linux family), which is where I got my Haskell (an other missing packages) from. https://fedoraproject.org/wiki/EPEL It is too bad that the Haskell Platform wasn't popular enough to make it into the base OS. Best, Jack

On Thu, Feb 26, 2015 at 7:41 PM, Kazu Yamamoto
Anyway, I would like to know reasons why the GHC binary package does not provide the cabal command.
Too many additional dependencies. Note that https://www.haskell.org/cabal/download.html *does* provide binary packages, specifically to address this. -- brandon s allbery kf8nh sine nomine associates allbery.b@gmail.com ballbery@sinenomine.net unix, openafs, kerberos, infrastructure, xmonad http://sinenomine.net

Hi Brandon,
Too many additional dependencies.
OK.
Note that https://www.haskell.org/cabal/download.html *does* provide binary packages, specifically to address this.
Oh. I did not know this page. Excellent. Thanks! --Kazu
participants (3)
-
Brandon Allbery
-
Jack Hill
-
Kazu Yamamoto