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