Sample Header Ad - 728x90

How to install Pandoc on ArchLinux

5 votes
3 answers
9154 views
Does anyone have suggestions about how to install pandoc on Arch? I am trying to install pandoc-static from here: https://aur.archlinux.org/packages/pandoc-static/ , although it appears to be conflicting with my xmonad installation (I use xmonad as a TWM): [grease-lightning]/home/.../builds/pandoc-static$ makepkg -s ==> Making package: pandoc-static 1.15.0.6-1 (Sun Aug 16 23:18:48 PDT 2015) ==> Checking runtime dependencies... ==> Checking buildtime dependencies... ==> Retrieving sources... -> Found pandoc-static-1.15.0.6-1.tar.xz -> Found pandoc-static-1.15.0.6-1.tar.xz.sig ==> Validating source files with sha512sums... pandoc-static-1.15.0.6-1.tar.xz ... Passed pandoc-static-1.15.0.6-1.tar.xz.sig ... Skipped ==> Verifying source file signatures with gpg... pandoc-static-1.15.0.6-1.tar.xz ... Passed ==> Extracting sources... -> Extracting pandoc-static-1.15.0.6-1.tar.xz with bsdtar ==> Starting prepare()... ==> Removing existing $pkgdir/ directory... ==> Starting build()... -> Skipping List-0.5.2 -> Skipping SHA-1.6.4.2 -> Skipping base64-bytestring-1.0.0.1 -> Skipping byteable-0.1.1 -> Skipping cereal-0.4.1.1 -> Skipping cmdargs-0.10.13 -> Building data-default-class-0.0.1 Warning: The package list for 'hackage.haskell.org' does not exist. Run 'cabal update' to download it. Resolving dependencies... In order, the following would be installed: data-default-class-0.0.1 (reinstall) cabal: The following packages are likely to be broken by the reinstalls: data-default-instances-old-locale-0.0.1 data-default-0.5.3 X11-1.6.1.2 xmonad-contrib-0.11.4 xmonad-0.11.1 X11-xft-0.3.1 data-default-instances-dlist-0.0.1 data-default-instances-containers-0.0.1 data-default-instances-base-0.0.1 Use --force-reinstalls if you want to install anyway. ==> ERROR: A failure occurred in build(). Aborting... I am afraid of breaking my xmonad TWM if I force the reinstall. What should I do? Perhaps I should install Pandoc via sudo cabal install --global pandoc? If so, how should I install cabal? I was thinking that I should download it from here: https://www.haskell.org/cabal/download.html Any suggestions or recommendations are appreciated. I am also happy to clarify anything.
Asked by modulitos (3275 rep)
Aug 17, 2015, 06:58 AM
Last activity: May 3, 2023, 01:48 PM