If you are interested in managing Haskell packages outside of your package manager (which may be useful if you are interested in using the latest versions of things), Cabal is a Haskell package manager that allows you to execute
apt-get install cabal-install cabal update cabal install QuickCheck
to make QuickCheck available worldwide.
Recently, it is recommended to use the sandbox function for Cabal. This is very similar to Python virtualenv or Ruby bundle if you are more familiar with them. To do this, you must create a “cabbalized” project
cabal init
and then put QuickCheck (and your other library dependencies) in the build-depends: slot of the generated <folder name>.cabal .
After you have done this, you use Cabal for all subsequent package management and compilation commands.
cabal sandbox init
source share