Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

Suppose I have a program which I can install via cabal, for example

cabal install pandoc

Is it possible to use checkinstall to make a .deb package out of this and install it in a second step via dpkg?

share|improve this question
add comment

1 Answer 1

There seems to be a program called "cabal-debian" that converts a cabal file into a debian package (ala checkinstall) and allows you to install it via apt/dpkg. It's provided by the package "haskell-debian-utils". The manpage & description for it can be found at http://manpages.ubuntu.com/manpages/natty/man1/cabal-debian.1.html.

Looks like running "cabal-debian --debianize --ghc", then "dpkg -i" whatever debs come out will achieve what you want.

share|improve this answer
    
Thanks. How do I use this in my example? How to download the cabal file (for pandoc)? –  student Aug 2 '11 at 18:07
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.