diff --git a/doc/getting_started/index.rst b/doc/getting_started/index.rst index bb5292992b9..cf9c979591a 100644 --- a/doc/getting_started/index.rst +++ b/doc/getting_started/index.rst @@ -29,10 +29,11 @@ tools. First, make sure your development system OS is updated: .. group-tab:: Ubuntu - Use these commands to bring your Linux (Ubuntu) system up to date. - If you're using a different Linux distribution, use the appropriate - package manager for your OS. (See :ref:`installation_linux` for - more information about other Linux distributions.) + This guide covers Ubuntu version 18.04 LTS and later. See + :ref:`installation_linux` for information about other Linux + distributions and older versions of Ubuntu. + + Use these commands to bring your Ubuntu system up to date: .. code-block:: bash @@ -94,16 +95,11 @@ We'll also install Zephyr's multi-purpose west tool. wget -O - https://apt.kitware.com/keys/kitware-archive-latest.asc 2>/dev/null | sudo apt-key add - - b) Add the kitware repo corresponding to your Ubuntu LTS release (use - ``cat /etc/os-release`` to check): + b) Add the kitware repo corresponding to the Ubuntu 18.04 LTS release: - For Ubuntu Bionic Beaver (18.04) use:: + .. code-block:: bash - sudo apt-add-repository 'deb https://apt.kitware.com/ubuntu/ bionic main' - - For Ubuntu Xenial Xerus (16.04) use:: - - sudo apt-add-repository 'deb https://apt.kitware.com/ubuntu/ xenial main' + sudo apt-add-repository 'deb https://apt.kitware.com/ubuntu/ bionic main' c) Then install the updated cmake using the usual apt commands: diff --git a/doc/getting_started/installation_linux.rst b/doc/getting_started/installation_linux.rst index 5aeb1016271..e0cc28218e2 100644 --- a/doc/getting_started/installation_linux.rst +++ b/doc/getting_started/installation_linux.rst @@ -192,6 +192,19 @@ more recent one by building from source, or use the one that is bundled in the :ref:`Zephyr SDK ` by installing it and setting the :envvar:`ZEPHYR_SDK_INSTALL_DIR` environment variable. +Python +====== + +Python 3.6 or later is required. Check what version you have by using ``python3 +--version``. + +If you have an older version, you will need to install a more recent Python 3. +You can build from source, or use a backport from your distribution's package +manager channels if one is available. Isolating this Python in a virtual +environment is recommended to avoid interfering with your system Python. + +.. _pyenv: https://github.com/pyenv/pyenv + .. _zephyr_sdk: Install the Zephyr Software Development Kit (SDK)