open-adventure/INSTALL.adoc
2024-01-02 09:46:09 -05:00

23 lines
674 B
Text

= Installing Open Adventure =
// SPDX-FileCopyrightText: Copyright Eric S. Raymond <esr@thyrsus.com>
// SPDX-License-Identifier: CC-BY-4.0
Installation now requires Python3 due to a security issue
with the YAML library.
1. Install libedit from http://thrysoee.dk/editline/ (aka: editline)
on your system.
+
On Debian and Ubuntu: `apt-get install libedit-dev`.
+
On Fedora: `dnf install libedit-devel`.
+
You can also use pip to install PyYAML: `pip3 install PyYAML`.
2. Change to the top-level directory of the source code (e.g., `cd open-adventure`).
3. Build with `make`.
4. Optionally run a regression test on the code with `make check`.
5. Run `./advent` to play.