From b8b68500c5826523e955347576abf0f8115bb37e Mon Sep 17 00:00:00 2001 From: clinssen Date: Mon, 4 Dec 2023 14:53:54 +0100 Subject: [PATCH] Add PPA installation instructions to the documentation (#990) --- doc/installation.rst | 26 +++++++++++++++++++++++++- 1 file changed, 25 insertions(+), 1 deletion(-) diff --git a/doc/installation.rst b/doc/installation.rst index 9f0054bba..8b06a4ef8 100644 --- a/doc/installation.rst +++ b/doc/installation.rst @@ -16,7 +16,31 @@ NESTML can then be installed into your local user directory via: .. code-block:: bash - pip install --pre nestml + pip install nestml + + +Installing the latest release from PPA (Linux) +---------------------------------------------- + +NESTML can be installed via the ``apt`` package manager. This requires superuser (sudo) access. First, add the NEST PPA: + +.. code-block:: bash + + sudo add-apt-repository ppa:nest-simulator/nest + +Then update the index and install the necessary packages: + +.. code-block:: bash + + sudo apt update + sudo apt install nest python3-nestml + python3 -m pip install --upgrade odetoolbox pygsl antlr4-python3-runtime==4.10 + +Before running NEST or NESTML, make sure the correct environment variables are set by running the following command: + +.. code-block:: bash + + source /usr/bin/nest_vars.sh Installing the latest development version from GitHub