X-Git-Url: https://jxself.org/git/?a=blobdiff_plain;f=INSTALL.adoc;h=a51b8acd66aa6a870c5ece89e6e5d1490cfaf251;hb=fe1b02f4c072997e84044a6557f24356050074d0;hp=3e733f34cc61270ab8658a596da2a16db2246dd1;hpb=9355882cac573b32e6223f0f08fb2dfe08f70e43;p=open-adventure.git diff --git a/INSTALL.adoc b/INSTALL.adoc index 3e733f3..a51b8ac 100644 --- a/INSTALL.adoc +++ b/INSTALL.adoc @@ -1,18 +1,21 @@ = Installing Open Adventure = -1. Install PyYAML for Python 3 (which requires Python 3), and libedit -(aka: editline) on your system. +Installation now requires Python3 due to a security issue +with the YAML library. -On Debian and Ubuntu: 'apt-get install python3-yaml libedit-dev'. -On Fedora: 'dnf install python3-PyYAML libedit-devel'. +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`. -If you are using MacPorts on OS X: 'port install py3{5,6}-yaml', as -appropriate for your Python 3 version. +2. Change to the top-level directory of the source code (e.g., `cd open-adventure`). -You can also use pip to install PyYAML: 'pip3 install PyYAML'. +3. Build with `make`. -2. 'make'. +4. Optionally run a regression test on the code with `make check`. -3. Optionally run a regression test on the code with 'make check'. - -4. Run the resulting 'advent' binary to play. +5. Run `./advent` to play.