Installation
============
The ``d2lbook`` package is tested under macOS and Linux. (You are
welcome to contribute a Windows release).
First make sure you have `pip `__
available. In option, we recommend
`conda `__ for libraries
that ``pip`` doesn't support.
Now install the command-line interface.
.. raw:: latex
\diilbookstyleinputcell
.. code:: sh
pip install git+https://github.com/d2l-ai/d2l-book
This is a `d2lbook pip package `__,
but we recommend you to install latest version at Github directly since
it's under fast developing.
To build HTML results, we need `pandoc `__. You can
install it through ``conda install pandoc``.
Building the PDF version requires
`LibRsvg `__ to convert your
SVG images (our recommend format), e.g. ``conda install librsvg``, and
of course, you need to have a LaTeX distribution, e.g. `Tex
Live `__, available,