]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
[3.12] gh-59149: Setup documentation for IDLE on Linux and add section in Editors...
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>
Wed, 12 Feb 2025 08:26:30 +0000 (09:26 +0100)
committerGitHub <noreply@github.com>
Wed, 12 Feb 2025 08:26:30 +0000 (08:26 +0000)
---------
(cherry picked from commit 555ee43d929ad4b917db2caee3f2c10a2636832c)

Co-authored-by: Stan Ulbrych <89152624+StanFromIreland@users.noreply.github.com>
Co-authored-by: Petr Viktorin <encukou@gmail.com>
Doc/using/editors.rst
Doc/using/unix.rst

index f36f570125c119a58d37ec0a1c4ccae98a8f9878..10b1780bda58f449adf8e4b60f89431bffb85e7a 100644 (file)
@@ -9,6 +9,19 @@
 There are a number of IDEs that support Python programming language.
 Many editors and IDEs provide syntax highlighting, debugging tools, and :pep:`8` checks.
 
+
+IDLE --- Python editor and shell
+================================
+
+IDLE is Python’s Integrated Development and Learning Environment and is generally bundled with Python installs.
+If you are on Linux and do not have IDLE installed see :ref:`Installing IDLE on Linux <installing_idle_on_linux>`.
+For more information see the :ref:`IDLE docs <idle>`.
+
+
+Other Editors and IDEs
+======================
+
+Python's community wiki has information submitted by the community on Editors and IDEs.
 Please go to `Python Editors <https://wiki.python.org/moin/PythonEditors>`_ and
 `Integrated Development Environments <https://wiki.python.org/moin/IntegratedDevelopmentEnvironments>`_
 for a comprehensive list.
index a2bcdab09a92825147c2fda9a6c28aef9fa1578e..9ed97f6fe859390a81cd4235533fa8c16217c0c1 100644 (file)
@@ -35,6 +35,31 @@ look at the following links:
    https://slackbook.org/html/package-management-making-packages.html
       for Slackware users
 
+.. _installing_idle_on_linux:
+
+Installing IDLE
+~~~~~~~~~~~~~~~
+
+In some cases, IDLE might not be included in your Python installation.
+
+* For Debian and Ubuntu users::
+
+   sudo apt update
+   sudo apt install idle
+
+* For Fedora, RHEL, and CentOS users::
+
+   sudo dnf install python3-idle
+
+* For SUSE and OpenSUSE users::
+
+   sudo zypper in python3-idle
+
+* For Alpine Linux users::
+
+   sudo apk add python3-idle
+
+
 
 On FreeBSD and OpenBSD
 ----------------------