How to install pandoc in CentOs without loosing sanity

Pandoc is a Haskell library for converting from one markup format to another, and a command-line tool that uses this library.

You can easily install it with Halcyon.
Halcyon can be installed by cloning the Halcyon source repository:

git clone https://github.com/mietek/halcyon
Alternatively, you can run the Halcyon setup script, which also installs the necessary OS packages and sets up the environment:

eval «$( curl -sL https://github.com/mietek/halcyon/raw/master/setup.sh

cd /dir/to/installation/of/halcyon/
sudo ./halcyon install cabal –prefix=/dir/where/you/want/to/install/cabal/
locate halcyon-install-3eb4a81-Cabal-1.22.6.0.tar.gz
cd halcyon/
./halcyon –help
./halcyon cabal
sudo ./halcyon install pandoc –prefix=/dir/where/you/want/to/install/pandoc/

That’s it!
Halcyon do the magic!

Publicado por Jortx

Friki, frikismo, DevOps, wordpress, linux, Sysadmin.

Dejar un comentario

Este sitio utiliza Akismet para reducir el spam. Conoce cómo se procesan los datos de tus comentarios.