Ask Ubuntu is a question and answer site for Ubuntu users and developers. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I am having trouble getting a installing version of pandoc. The repository has version, and the tar.gz does not come with clear instructions for installation.

I have also tried the recommendation from the pandoc page:

sudo apt-get install cabal
cabal update 
cabal install pandoc

And pandoc is installed in ~/.cabal/lib/pandoc- although man pandoc returns

man: can't resolve /usr/share/man/man1/pandoc.1.gz: No such file or directory
No manual entry for pandoc

Any assistance appreciated

share|improve this question
up vote 2 down vote accepted

I am guessing, your have to extend your PATH environment variable to include


and then relogin afterwards.

This can be done in different ways. e.g.

editor ~/.bashrc

and add at the end

export PATH=~/.cabal/bin:$PATH
share|improve this answer

To give the usual sort of access (assuming ~/.cabal is world readable), do this:

sudo ln -s $HOME/.cabal/bin/* /usr/local/bin
sudo ln -s $HOME/.cabal/man/man1/*.1 /usr/local/man/man1
sudo ln -s $HOME/.cabal/man/man5/*.5 /usr/local/man/man5

This allows man pandoc, man pandoc_markdown, man markdown2pdf. You could also cp instead of ln -s, but then you'll have to repeat the copy when next you upgrade pandoc.

share|improve this answer

Your Answer


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.