From 67be3f0be01185ab2e7a0460c30dd939236b4f8c Mon Sep 17 00:00:00 2001 From: Ulf Magnusson Date: Tue, 14 May 2019 23:34:30 +0200 Subject: Add installation instructions for tkinter Not installed by default on many Linux systems, despite being part of the Python standard library. --- README.rst | 12 ++++++++++++ 1 file changed, 12 insertions(+) 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 -- cgit v1.2.3