Skip to content

Instantly share code, notes, and snippets.

@gurix
Last active February 2, 2018 13:29
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save gurix/c645ca409922b8a31dbb60c35ab449a3 to your computer and use it in GitHub Desktop.
Save gurix/c645ca409922b8a31dbb60c35ab449a3 to your computer and use it in GitHub Desktop.
How to install pandoc 1.17.0.3 on ueberspace 6

The following worklow based on the official documentation from pandoc https://pandoc.org/installing.html#quick-stack-method

Install stack

Stack is not installed on ueberspace 6 by default. So we have to do install it manually.

  1. Download the release Linux 64-bit, static mannually according https://docs.haskellstack.org/en/stable/install_and_upgrade/#linux with the command wget https://www.stackage.org/stack/linux-x86_64-static
  2. It is a tar archive, but it does not save it with the correct suffix. However we cann extract the archive using tar -xzf linux-x86_64-static
  3. Copy the stack binary into your home binary folder cp stack-1.6.3-linux-x86_64-static/stack ~/bin/

Install pandoc

  1. Download the pandoc source wget https://hackage.haskell.org/package/pandoc-1.17.0.3/pandoc-1.17.0.3.tar.gz
  2. Extract the archive tar xvzf pandoc-1.17.0.3.tar.gz
  3. Compile and install it as documented on https://pandoc.org/installing.html#quick-stack-method with stack setup && stack install
  4. The new pandoc is located on ~/.local/bin so we have to add this to the path in ~/.bash_profile by altering the PATH variable to PATH=$HOME/.local/bin:$PATH:$HOME/bin
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment