Skip to content

Commit

Permalink
Update INSTALL.md
Browse files Browse the repository at this point in the history
See jgm#10069 -- the static linked pandoc on other OSes also
have a limitation to use binary lua packages. So added
this point at the top of the document. In addition
conda-forge is cross-platform way to install pandoc
and other tools, added to Windows, macOS and
Linux sections.

I wrapped at 75 characters, is that right?

Update INSTALL.md

fix a copy-paste typo.
  • Loading branch information
iandol authored and iandol committed Aug 19, 2024
1 parent db3febd commit 5e19d51
Showing 1 changed file with 41 additions and 5 deletions.
46 changes: 41 additions & 5 deletions INSTALL.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,10 @@ The simplest way to get the latest pandoc release is to use the installer.
Download the latest installer
</a>

For alternative ways to install pandoc, see below
under the heading for your operating system.
For alternative ways to install pandoc, see below under the heading for
your operating system. In cases where a statically linked executable is
installed, the pandoc binary from this package cannot use lua filters that
require external lua modules written in C.

## Windows

Expand Down Expand Up @@ -39,6 +41,18 @@ Or, you can install pandoc using

winget install --source winget --exact --id JohnMacFarlane.Pandoc

Or, you can install pandoc using a [Conda
forge](https://anaconda.org/conda-forge/pandoc) tool, like
[`conda`](https://conda.pydata.org/docs/intro.html),
[`[micro]mamba`](https://mamba.readthedocs.io/en/latest/index.html) or
[`pixi`](https://prefix.dev). Conda forge contains multiple LaTeX and other
packages (`pandoc-citeproc`, `pandoc-plot`,`rsvg-convert` via `r-rsvg`
etc.). Note this is a statically linked executable:

conda install -c conda-forge pandoc
pixi global install pandoc
micromamba install pandoc -c conda-forge

Using multiple installation methods can result in two separate
installations of pandoc; it is recommended to properly uninstall
pandoc before switching to an alternative installation method.
Expand Down Expand Up @@ -70,6 +84,18 @@ Note: On unsupported versions of macOS (more than three releases old),
Homebrew installs from source, which takes additional time and disk space
for the `ghc` compiler and dependent Haskell libraries.

Or, you can install pandoc using a [Conda
forge](https://anaconda.org/conda-forge/pandoc) tool, like
[`conda`](https://conda.pydata.org/docs/intro.html),
[`[micro]mamba`](https://mamba.readthedocs.io/en/latest/index.html) or
[`pixi`](https://prefix.dev). Conda forge contains multiple LaTeX and other
packages (`pandoc-citeproc`, `pandoc-plot`,`rsvg-convert` via `r-rsvg`
etc.). Note this is a statically linked executable:

conda install -c conda-forge pandoc
pixi global install pandoc
micromamba install pandoc -c conda-forge

We also provide a zip file containing the binaries and man
pages, for those who prefer not to use the installer. Simply
unzip the file and move the binaries and man pages to
Expand Down Expand Up @@ -97,9 +123,7 @@ architecture on the **[download page]**.

The executable is statically linked and
has no dynamic dependencies or dependencies on external
data files. Note: because of the static
linking, the pandoc binary from this package cannot use lua
filters that require external lua modules written in C.
data files.

Both a tarball and a deb installer are provided. To install the deb:

Expand All @@ -122,6 +146,18 @@ a tarball, try instead

ar p $DEB data.tar.gz | tar xvz --strip-components 2 -C $DEST

Or, you can install pandoc using a [Conda-
forge](https://anaconda.org/conda-forge/pandoc) tool, like
[`conda`](https://conda.pydata.org/docs/intro.html),
[`[micro]mamba`](https://mamba.readthedocs.io/en/latest/index.html) or
[`pixi`](https://prefix.dev). Conda forge contains multiple LaTeX and other
packages (`pandoc-citeproc`, `pandoc-plot`,`rsvg-convert` via `r-rsvg`
etc.). Note this is a statically linked executable:

conda install -c conda-forge pandoc
pixi global install pandoc
micromamba install pandoc -c conda-forge

You can also install from source, using the
instructions below under [Compiling from source].
Note that most distros have the Haskell platform in their
Expand Down

0 comments on commit 5e19d51

Please sign in to comment.