Take the 2-minute tour ×
Unix & Linux Stack Exchange is a question and answer site for users of Linux, FreeBSD and other Un*x-like operating systems.. It's 100% free, no registration required.

I've just installed cabal to try and get http://dmwit.com/yeganesh/, but on running cabal-install it throws the error:

cabal: ghc version >=6.4 is required but it could not be found.

Apt-cache searching ghc returns literally hundreds of packages, which one do I need?

share|improve this question
add comment

1 Answer 1

up vote 3 down vote accepted

You need the one called exactly ghc.

You can add the --names-only option to apt-cache search to limit your results; it prevents it from returning a positive result for packages that only mention ghc in the description. If that fails, I go to the package search page on the distro website where I can search for filenames instead of package names.

share|improve this answer
    
You can search for file names locally as well: apt-cache search bin/ghc –  Gilles Oct 27 '11 at 21:26
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.