user/hosts/posix.rst: Update Ubuntu instructions to 22.x

Closes #4821.
This commit is contained in:
Joel Sherrill 2023-01-24 18:08:09 -06:00
parent c4df72c2f1
commit 68a44b2524

View File

@ -137,16 +137,16 @@ prefix under your home directory as recommended and end up on the SD card.
Ubuntu 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: Xubuntu. A minimal installation was used and the following packages installed:
.. code-block:: none .. code-block:: none
$ sudo apt-get build-dep build-essential gcc-defaults g++ gdb unzip \ $ sudo apt install build-essential g++ gdb unzip pax bison flex texinfo \
pax bison flex texinfo python3-dev libpython2-dev libncurses5-dev \ python3-dev python-is-python3 libpython2-dev libncurses5-dev zlib1g-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 python2.7-dev. The name of packages changes over time. You need the
package with Python development libraries for C/C++ programs. The following package with Python development libraries for C/C++ programs. The following
is needed for recent versions: is needed for recent versions: