4

Since the pandoc package in the repository is outdated, I would like to install it via cabal-install.

I ran cabal update, and then cabal install pandoc which fails with:

cabal: Couldn't read cabal file "pandoc/1.9.4.4/pandoc.cabal"

This might be relevant:

cabal --version
cabal-install version 0.10.2
using version 1.10.1.0 of the Cabal library 

my machine is running oneiric.

jottr
  • 764

1 Answers1

3

Type echo $PATH and you'll probably see something that either (a) does not include $HOME/.cabal/bin or contains $HOME/.cabal/bin near the end.

Type export PATH=$HOME/.cabal/bin:$PATH, and then cabal install cabal-install. This will install the proper version of cabal, since the version in the ubuntu repositories is out-of-date. Then, you can cabal install pandoc just fine.

andrew
  • 31