tlmgrtool to install additional packages as needed.
apt-get install haskell-platform.
apt-get install texlive.)
First, install the Haskell platform, then use the
cabal tool to get the latest release of pandoc:
cabal update cabal install pandoc
This will download and compile pandoc and all of its dependencies. By default, cabal will perform a user install, putting the pandoc executable in
~/.cabal/bin (on linux and BSD) or
~/Library/Haskell/bin (on OS X). Make sure this directory is in your path.
To update pandoc when a new release comes out on HackageDB, simply do
cabal update && cabal install pandoc again.
If your distribution has GHC 6.12, you may get a
dependencies conflict error:
base-22.214.171.124 requires syb ==0.1.0.2 however syb-0.1.0.2 was excluded because json-0.5 requires syb >=0.3.3
In this case, do the following:
cabal install cabal-install cabal install json-0.4.4 cabal install pandoc
Alternatively, you can download the source tarball and follow the instructions in INSTALL.