summaryrefslogtreecommitdiffstats
path: root/user/hosts/posix.rst
diff options
context:
space:
mode:
Diffstat (limited to 'user/hosts/posix.rst')
-rw-r--r--user/hosts/posix.rst25
1 files changed, 18 insertions, 7 deletions
diff --git a/user/hosts/posix.rst b/user/hosts/posix.rst
index 9769e07..d79e183 100644
--- a/user/hosts/posix.rst
+++ b/user/hosts/posix.rst
@@ -137,16 +137,16 @@ prefix under your home directory as recommended and end up on the SD card.
Ubuntu
~~~~~~
-The latest version is Ubuntu 20.04.3 LTS 64-bit. This section also includes
+The latest version is Ubuntu 22.04 LTS 64-bit. This section also includes
Xubuntu. A minimal installation was used and the following packages installed:
.. code-block:: none
- $ sudo apt-get build-dep build-essential gcc-defaults g++ gdb unzip \
- pax bison flex texinfo python3-dev libpython2-dev libncurses5-dev \
- zlib1g-dev
+ $ sudo apt install build-essential g++ gdb unzip pax bison flex texinfo \
+ python3-dev python-is-python3 libpython2-dev libncurses5-dev zlib1g-dev \
+ ninja-build pkg-config
-Note that in previous versions of Ubuntu, the package libpython2-dev was
+Note that in older versions of Ubuntu, the package libpython2-dev was
python2.7-dev. The name of packages changes over time. You need the
package with Python development libraries for C/C++ programs. The following
is needed for recent versions:
@@ -179,8 +179,19 @@ than the usual zlib-dev):
openSUSE
~~~~~~~~
-This has been reported to work but no instructions were provided. This is an
-opportunity to contribute. Please submit any guidance you can provide.
+The RTEMS Source Builder has been tested on openSUSE Leap 15.4 64bit.
+Starting with a clean install with source repositories enabled, the following
+zypper command installs the required packages:
+
+.. code-block:: none
+
+ # sudo zypper in -t pattern devel_C_C++ devel_python3
+
+In addition, the following command can set python3 as the default python interpreter:
+
+.. code-block:: none
+
+ # sudo update-alternatives --install /usr/bin/python python /usr/bin/python3 1
.. _FreeBSD: