summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorUlf Magnusson <ulfalizer@gmail.com>2019-05-14 23:34:30 +0200
committerUlf Magnusson <ulfalizer@gmail.com>2019-05-14 23:36:17 +0200
commit67be3f0be01185ab2e7a0460c30dd939236b4f8c (patch)
tree37436cccfa02182d035af473e70a68ef928829b5
parent72e4c8d2ac5eb3fbd801476787960884de727109 (diff)
Add installation instructions for tkinter
Not installed by default on many Linux systems, despite being part of the Python standard library.
-rw-r--r--README.rst12
1 files changed, 12 insertions, 0 deletions
diff --git a/README.rst b/README.rst
index f2349f9..8315e07 100644
--- a/README.rst
+++ b/README.rst
@@ -510,6 +510,18 @@ Three configuration interfaces are currently available:
``guiconfig.py`` has been tested on X11, Windows, and macOS, and is
compatible with both Python 2 and Python 3.
+ Despite being part of the Python standard library, ``tkinter`` often isn't
+ included by default in Python installations on Linux. These commands will
+ install it on a few different distributions:
+
+ - Ubuntu: ``sudo apt install python-tk``/``sudo apt install python3-tk``
+
+ - Fedora: ``dnf install python2-tkinter``/``dnf install python3-tkinter``
+
+ - Arch: ``sudo pacman -S tk``
+
+ - Clear Linux: ``sudo swupd bundle-add python3-tcl``
+
Screenshot below, with show-all mode enabled and the jump-to dialog open:
.. image:: https://raw.githubusercontent.com/ulfalizer/Kconfiglib/screenshots/screenshots/guiconfig.png