diff --git a/Doc/using/unix.rst b/Doc/using/unix.rst index 9ed97f6fe85939..6a452d7e388b19 100644 --- a/Doc/using/unix.rst +++ b/Doc/using/unix.rst @@ -42,20 +42,28 @@ Installing IDLE In some cases, IDLE might not be included in your Python installation. -* For Debian and Ubuntu users:: +* For Debian and Ubuntu users: + +.. code-block:: shell-session sudo apt update sudo apt install idle -* For Fedora, RHEL, and CentOS users:: +* For Fedora, RHEL, and CentOS users: + +.. code-block:: shell-session sudo dnf install python3-idle -* For SUSE and OpenSUSE users:: +* For SUSE and OpenSUSE users: + +.. code-block:: shell-session sudo zypper in python3-idle -* For Alpine Linux users:: +* For Alpine Linux users: + +.. code-block:: shell-session sudo apk add python3-idle