Yes, I think some docs do need updating. Since I knew that pandoc is a Haskell package, I looked for it on Hackage (installing through package managers like Macports or Brew was really unattractive, especially since I already have a working Haskell installation, and don't want the tidbits that Brew or Macports would install, mess it up). So, my preferred install way for Haskell package zzz is cabal install zzz (unsurprisingly).

Hackage seemed to show for pandoc that pandoc-2.19.2 is the latest. Today it does show pandoc 3.0.1, but installation instructions are empty: https://hackage.haskell.org/package/pandoc-3.0.1/INSTALL.md

Though after much digging, and being armed with your info about pandoc-cli, I found this command somewhere at the bottom of some README page. And cabal install pandoc-cli succeeded.

Thanks!

On Wednesday, February 1, 2023 at 5:56:11 PM UTC-5 fiddlosopher wrote:
With 3.x, you need to

cabal install pandoc-cli

It may be that there are some docs that need updating?



On Feb 1, 2023, at 1:25 PM, Mouse Mousevich <u...-OVIABD91gjs3uPMLIKxrzw@public.gmane.org> wrote:

Trying to install from Hackage, I only get pandoc-2.19.2. When I do
cabal install pandoc-3.0.1
I get

$ cabal install pandoc-3.0.1

Resolving dependencies...

Build profile: -w ghc-9.2.5 -O1

In order, the following will be built (use -v for more details):

 - base64-0.4.2.4 (lib) (requires build)

 - doctemplates-0.11 (lib) (requires download & build)

 - digest-0.0.1.5 (lib) (requires download & build)

 - gridtables-0.1.0.0 (lib) (requires download & build)

.  .  .

Installing   commonmark-pandoc-0.2.1.3 (lib)

Completed    commonmark-pandoc-0.2.1.3 (lib)

Starting     pandoc-3.0.1 (lib)

Building     pandoc-3.0.1 (lib)

Installing   pandoc-3.0.1 (lib)

Completed    pandoc-3.0.1 (lib)

Warning:

@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@

@ WARNING: Installation might not be completed as desired! @

@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@

The command "cabal install [TARGETS]" doesn't expose libraries.

* You might have wanted to add them as dependencies to your package. In this

case add "pandoc, pandoc" to the build-depends field(s) of your package's

.cabal file.

* You might have wanted to add them to a GHC environment. In this case use

"cabal install --lib pandoc pandoc". The "--lib" flag is provisional: see

https://github.com/haskell/cabal/issues/6481 for more information.


On Wednesday, January 25, 2023 at 2:32:47 PM UTC-5 fiddlosopher wrote:
I'm pleased to announce the release of pandoc 3.0.1,
available in the usual places:

Binary packages & changelog:
https://github.com/jgm/pandoc/releases/tag/3.0.1

Source & API documentation:
http://hackage.haskell.org/package/pandoc-3.0.1

This is a bug-fix release. It fixes a couple of regressions
and other bugs in pandoc 3.0. We recommend upgrading from pandoc 3.0.



--
You received this message because you are subscribed to the Google Groups "pandoc-discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an email to pandoc-discus...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/pandoc-discuss/dbd982bd-3550-464d-8b24-0608e262179cn%40googlegroups.com.

--
You received this message because you are subscribed to the Google Groups "pandoc-discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an email to pandoc-discuss+unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org.
To view this discussion on the web visit https://groups.google.com/d/msgid/pandoc-discuss/0a275e4d-16ad-420e-b0f0-a932833fe13an%40googlegroups.com.