Skip to content

Commit

Permalink
INSTALL.md: indicate that cabal >= 2.0 is needed.
Browse files Browse the repository at this point in the history
  • Loading branch information
jgm committed Sep 7, 2018
1 parent ddac743 commit 6397aac
Showing 1 changed file with 12 additions and 3 deletions.
15 changes: 12 additions & 3 deletions INSTALL.md
Original file line number Diff line number Diff line change
Expand Up @@ -143,13 +143,21 @@ The easiest way to build pandoc from source is to use [stack]:

1. Install the [Haskell platform]. This will give you [GHC] and
the [cabal-install] build tool. Note that pandoc requires
GHC >= 7.10.
GHC >= 7.10 and cabal >= 2.0.

2. Update your package database:

cabal update

3. Use `cabal` to install pandoc and its dependencies:
3. Check your cabal version with

cabal --version

If you have a version less than 2.0, install the latest with:

cabal install cabal-install

4. Use `cabal` to install pandoc and its dependencies:

cabal install pandoc

Expand All @@ -162,7 +170,7 @@ The easiest way to build pandoc from source is to use [stack]:

cabal install

4. Make sure the `$CABALDIR/bin` directory is in your path. You should
5. Make sure the `$CABALDIR/bin` directory is in your path. You should
now be able to run `pandoc`:

pandoc --help
Expand Down Expand Up @@ -206,6 +214,7 @@ over the build and installation. Most users should use the
quick install, but this information may be of use to packagers.
For more details, see the [Cabal User's Guide]. These instructions
assume that the pandoc source directory is your working directory.
You will need cabal version 2.0 or higher.

1. Install dependencies: in addition to the [Haskell platform],
you will need a number of additional libraries. You can install
Expand Down

0 comments on commit 6397aac

Please sign in to comment.