From 1200a318f775f65f608935c24e84c7e87d699873 Mon Sep 17 00:00:00 2001 From: "C.A.P. Linssen" Date: Fri, 17 Nov 2023 03:27:09 -0800 Subject: [PATCH] add PPA installation instructions to documentation --- doc/installation.rst | 25 ++++++++++++++++++++++++- 1 file changed, 24 insertions(+), 1 deletion(-) diff --git a/doc/installation.rst b/doc/installation.rst index 829127e2a..46cc75f51 100644 --- a/doc/installation.rst +++ b/doc/installation.rst @@ -16,7 +16,30 @@ 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 + +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