How To Install python39-tkinter on Rocky Linux 8
Introduction
In this tutorial we learn how to install python39-tkinter
on Rocky Linux 8.
What is python39-tkinter
The Tkinter (Tk interface) library is a graphical user interface toolkit for the Python programming language.
We can use yum
or dnf
to install python39-tkinter
on Rocky Linux 8. In this tutorial we discuss both methods but you only need to choose one of method to install python39-tkinter.
Install python39-tkinter on Rocky Linux 8 Using dnf
Update yum database with dnf
using the following command.
sudo dnf makecache --refresh
After updating yum database, We can install python39-tkinter
using dnf
by running the following command:
sudo dnf -y install python39-tkinter
Install python39-tkinter on Rocky Linux 8 Using yum
Update yum database with yum
using the following command.
sudo yum makecache --refresh
After updating yum database, We can install python39-tkinter
using yum
by running the following command:
sudo yum -y install python39-tkinter
How To Uninstall python39-tkinter on Rocky Linux 8
To uninstall only the python39-tkinter
package we can use the following command:
sudo dnf remove python39-tkinter
python39-tkinter Package Contents on Rocky Linux 8
/usr/lib/.build-id
/usr/lib/.build-id/2e/1a688295f2c79f1224e74a7162f9857bd26ba1
/usr/lib64/python3.9/__pycache__/turtle.cpython-39.opt-1.pyc
/usr/lib64/python3.9/__pycache__/turtle.cpython-39.opt-2.pyc
/usr/lib64/python3.9/__pycache__/turtle.cpython-39.pyc
/usr/lib64/python3.9/lib-dynload/_tkinter.cpython-39-x86_64-linux-gnu.so
/usr/lib64/python3.9/tkinter
/usr/lib64/python3.9/tkinter/__init__.py
/usr/lib64/python3.9/tkinter/__main__.py
/usr/lib64/python3.9/tkinter/__pycache__
/usr/lib64/python3.9/tkinter/__pycache__/__init__.cpython-39.opt-1.pyc
/usr/lib64/python3.9/tkinter/__pycache__/__init__.cpython-39.opt-2.pyc
/usr/lib64/python3.9/tkinter/__pycache__/__init__.cpython-39.pyc
/usr/lib64/python3.9/tkinter/__pycache__/__main__.cpython-39.opt-1.pyc
/usr/lib64/python3.9/tkinter/__pycache__/__main__.cpython-39.opt-2.pyc
/usr/lib64/python3.9/tkinter/__pycache__/__main__.cpython-39.pyc
/usr/lib64/python3.9/tkinter/__pycache__/colorchooser.cpython-39.opt-1.pyc
/usr/lib64/python3.9/tkinter/__pycache__/colorchooser.cpython-39.opt-2.pyc
/usr/lib64/python3.9/tkinter/__pycache__/colorchooser.cpython-39.pyc
/usr/lib64/python3.9/tkinter/__pycache__/commondialog.cpython-39.opt-1.pyc
/usr/lib64/python3.9/tkinter/__pycache__/commondialog.cpython-39.opt-2.pyc
/usr/lib64/python3.9/tkinter/__pycache__/commondialog.cpython-39.pyc
/usr/lib64/python3.9/tkinter/__pycache__/constants.cpython-39.opt-1.pyc
/usr/lib64/python3.9/tkinter/__pycache__/constants.cpython-39.opt-2.pyc
/usr/lib64/python3.9/tkinter/__pycache__/constants.cpython-39.pyc
/usr/lib64/python3.9/tkinter/__pycache__/dialog.cpython-39.opt-1.pyc
/usr/lib64/python3.9/tkinter/__pycache__/dialog.cpython-39.opt-2.pyc
/usr/lib64/python3.9/tkinter/__pycache__/dialog.cpython-39.pyc
/usr/lib64/python3.9/tkinter/__pycache__/dnd.cpython-39.opt-1.pyc
/usr/lib64/python3.9/tkinter/__pycache__/dnd.cpython-39.opt-2.pyc
/usr/lib64/python3.9/tkinter/__pycache__/dnd.cpython-39.pyc
/usr/lib64/python3.9/tkinter/__pycache__/filedialog.cpython-39.opt-1.pyc
/usr/lib64/python3.9/tkinter/__pycache__/filedialog.cpython-39.opt-2.pyc
/usr/lib64/python3.9/tkinter/__pycache__/filedialog.cpython-39.pyc
/usr/lib64/python3.9/tkinter/__pycache__/font.cpython-39.opt-1.pyc
/usr/lib64/python3.9/tkinter/__pycache__/font.cpython-39.opt-2.pyc
/usr/lib64/python3.9/tkinter/__pycache__/font.cpython-39.pyc
/usr/lib64/python3.9/tkinter/__pycache__/messagebox.cpython-39.opt-1.pyc
/usr/lib64/python3.9/tkinter/__pycache__/messagebox.cpython-39.opt-2.pyc
/usr/lib64/python3.9/tkinter/__pycache__/messagebox.cpython-39.pyc
/usr/lib64/python3.9/tkinter/__pycache__/scrolledtext.cpython-39.opt-1.pyc
/usr/lib64/python3.9/tkinter/__pycache__/scrolledtext.cpython-39.opt-2.pyc
/usr/lib64/python3.9/tkinter/__pycache__/scrolledtext.cpython-39.pyc
/usr/lib64/python3.9/tkinter/__pycache__/simpledialog.cpython-39.opt-1.pyc
/usr/lib64/python3.9/tkinter/__pycache__/simpledialog.cpython-39.opt-2.pyc
/usr/lib64/python3.9/tkinter/__pycache__/simpledialog.cpython-39.pyc
/usr/lib64/python3.9/tkinter/__pycache__/tix.cpython-39.opt-1.pyc
/usr/lib64/python3.9/tkinter/__pycache__/tix.cpython-39.opt-2.pyc
/usr/lib64/python3.9/tkinter/__pycache__/tix.cpython-39.pyc
/usr/lib64/python3.9/tkinter/__pycache__/ttk.cpython-39.opt-1.pyc
/usr/lib64/python3.9/tkinter/__pycache__/ttk.cpython-39.opt-2.pyc
/usr/lib64/python3.9/tkinter/__pycache__/ttk.cpython-39.pyc
/usr/lib64/python3.9/tkinter/colorchooser.py
/usr/lib64/python3.9/tkinter/commondialog.py
/usr/lib64/python3.9/tkinter/constants.py
/usr/lib64/python3.9/tkinter/dialog.py
/usr/lib64/python3.9/tkinter/dnd.py
/usr/lib64/python3.9/tkinter/filedialog.py
/usr/lib64/python3.9/tkinter/font.py
/usr/lib64/python3.9/tkinter/messagebox.py
/usr/lib64/python3.9/tkinter/scrolledtext.py
/usr/lib64/python3.9/tkinter/simpledialog.py
/usr/lib64/python3.9/tkinter/tix.py
/usr/lib64/python3.9/tkinter/ttk.py
/usr/lib64/python3.9/turtle.py
/usr/lib64/python3.9/turtledemo
/usr/lib64/python3.9/turtledemo/__init__.py
/usr/lib64/python3.9/turtledemo/__main__.py
/usr/lib64/python3.9/turtledemo/__pycache__
/usr/lib64/python3.9/turtledemo/__pycache__/__init__.cpython-39.opt-1.pyc
/usr/lib64/python3.9/turtledemo/__pycache__/__init__.cpython-39.opt-2.pyc
/usr/lib64/python3.9/turtledemo/__pycache__/__init__.cpython-39.pyc
/usr/lib64/python3.9/turtledemo/__pycache__/__main__.cpython-39.opt-1.pyc
/usr/lib64/python3.9/turtledemo/__pycache__/__main__.cpython-39.opt-2.pyc
/usr/lib64/python3.9/turtledemo/__pycache__/__main__.cpython-39.pyc
/usr/lib64/python3.9/turtledemo/__pycache__/bytedesign.cpython-39.opt-1.pyc
/usr/lib64/python3.9/turtledemo/__pycache__/bytedesign.cpython-39.opt-2.pyc
/usr/lib64/python3.9/turtledemo/__pycache__/bytedesign.cpython-39.pyc
/usr/lib64/python3.9/turtledemo/__pycache__/chaos.cpython-39.opt-1.pyc
/usr/lib64/python3.9/turtledemo/__pycache__/chaos.cpython-39.opt-2.pyc
/usr/lib64/python3.9/turtledemo/__pycache__/chaos.cpython-39.pyc
/usr/lib64/python3.9/turtledemo/__pycache__/clock.cpython-39.opt-1.pyc
/usr/lib64/python3.9/turtledemo/__pycache__/clock.cpython-39.opt-2.pyc
/usr/lib64/python3.9/turtledemo/__pycache__/clock.cpython-39.pyc
/usr/lib64/python3.9/turtledemo/__pycache__/colormixer.cpython-39.opt-1.pyc
/usr/lib64/python3.9/turtledemo/__pycache__/colormixer.cpython-39.opt-2.pyc
/usr/lib64/python3.9/turtledemo/__pycache__/colormixer.cpython-39.pyc
/usr/lib64/python3.9/turtledemo/__pycache__/forest.cpython-39.opt-1.pyc
/usr/lib64/python3.9/turtledemo/__pycache__/forest.cpython-39.opt-2.pyc
/usr/lib64/python3.9/turtledemo/__pycache__/forest.cpython-39.pyc
/usr/lib64/python3.9/turtledemo/__pycache__/fractalcurves.cpython-39.opt-1.pyc
/usr/lib64/python3.9/turtledemo/__pycache__/fractalcurves.cpython-39.opt-2.pyc
/usr/lib64/python3.9/turtledemo/__pycache__/fractalcurves.cpython-39.pyc
/usr/lib64/python3.9/turtledemo/__pycache__/lindenmayer.cpython-39.opt-1.pyc
/usr/lib64/python3.9/turtledemo/__pycache__/lindenmayer.cpython-39.opt-2.pyc
/usr/lib64/python3.9/turtledemo/__pycache__/lindenmayer.cpython-39.pyc
/usr/lib64/python3.9/turtledemo/__pycache__/minimal_hanoi.cpython-39.opt-1.pyc
/usr/lib64/python3.9/turtledemo/__pycache__/minimal_hanoi.cpython-39.opt-2.pyc
/usr/lib64/python3.9/turtledemo/__pycache__/minimal_hanoi.cpython-39.pyc
/usr/lib64/python3.9/turtledemo/__pycache__/nim.cpython-39.opt-1.pyc
/usr/lib64/python3.9/turtledemo/__pycache__/nim.cpython-39.opt-2.pyc
/usr/lib64/python3.9/turtledemo/__pycache__/nim.cpython-39.pyc
/usr/lib64/python3.9/turtledemo/__pycache__/paint.cpython-39.opt-1.pyc
/usr/lib64/python3.9/turtledemo/__pycache__/paint.cpython-39.opt-2.pyc
/usr/lib64/python3.9/turtledemo/__pycache__/paint.cpython-39.pyc
/usr/lib64/python3.9/turtledemo/__pycache__/peace.cpython-39.opt-1.pyc
/usr/lib64/python3.9/turtledemo/__pycache__/peace.cpython-39.opt-2.pyc
/usr/lib64/python3.9/turtledemo/__pycache__/peace.cpython-39.pyc
/usr/lib64/python3.9/turtledemo/__pycache__/penrose.cpython-39.opt-1.pyc
/usr/lib64/python3.9/turtledemo/__pycache__/penrose.cpython-39.opt-2.pyc
/usr/lib64/python3.9/turtledemo/__pycache__/penrose.cpython-39.pyc
/usr/lib64/python3.9/turtledemo/__pycache__/planet_and_moon.cpython-39.opt-1.pyc
/usr/lib64/python3.9/turtledemo/__pycache__/planet_and_moon.cpython-39.opt-2.pyc
/usr/lib64/python3.9/turtledemo/__pycache__/planet_and_moon.cpython-39.pyc
/usr/lib64/python3.9/turtledemo/__pycache__/rosette.cpython-39.opt-1.pyc
/usr/lib64/python3.9/turtledemo/__pycache__/rosette.cpython-39.opt-2.pyc
/usr/lib64/python3.9/turtledemo/__pycache__/rosette.cpython-39.pyc
/usr/lib64/python3.9/turtledemo/__pycache__/round_dance.cpython-39.opt-1.pyc
/usr/lib64/python3.9/turtledemo/__pycache__/round_dance.cpython-39.opt-2.pyc
/usr/lib64/python3.9/turtledemo/__pycache__/round_dance.cpython-39.pyc
/usr/lib64/python3.9/turtledemo/__pycache__/sorting_animate.cpython-39.opt-1.pyc
/usr/lib64/python3.9/turtledemo/__pycache__/sorting_animate.cpython-39.opt-2.pyc
/usr/lib64/python3.9/turtledemo/__pycache__/sorting_animate.cpython-39.pyc
/usr/lib64/python3.9/turtledemo/__pycache__/tree.cpython-39.opt-1.pyc
/usr/lib64/python3.9/turtledemo/__pycache__/tree.cpython-39.opt-2.pyc
/usr/lib64/python3.9/turtledemo/__pycache__/tree.cpython-39.pyc
/usr/lib64/python3.9/turtledemo/__pycache__/two_canvases.cpython-39.opt-1.pyc
/usr/lib64/python3.9/turtledemo/__pycache__/two_canvases.cpython-39.opt-2.pyc
/usr/lib64/python3.9/turtledemo/__pycache__/two_canvases.cpython-39.pyc
/usr/lib64/python3.9/turtledemo/__pycache__/yinyang.cpython-39.opt-1.pyc
/usr/lib64/python3.9/turtledemo/__pycache__/yinyang.cpython-39.opt-2.pyc
/usr/lib64/python3.9/turtledemo/__pycache__/yinyang.cpython-39.pyc
/usr/lib64/python3.9/turtledemo/bytedesign.py
/usr/lib64/python3.9/turtledemo/chaos.py
/usr/lib64/python3.9/turtledemo/clock.py
/usr/lib64/python3.9/turtledemo/colormixer.py
/usr/lib64/python3.9/turtledemo/forest.py
/usr/lib64/python3.9/turtledemo/fractalcurves.py
/usr/lib64/python3.9/turtledemo/lindenmayer.py
/usr/lib64/python3.9/turtledemo/minimal_hanoi.py
/usr/lib64/python3.9/turtledemo/nim.py
/usr/lib64/python3.9/turtledemo/paint.py
/usr/lib64/python3.9/turtledemo/peace.py
/usr/lib64/python3.9/turtledemo/penrose.py
/usr/lib64/python3.9/turtledemo/planet_and_moon.py
/usr/lib64/python3.9/turtledemo/rosette.py
/usr/lib64/python3.9/turtledemo/round_dance.py
/usr/lib64/python3.9/turtledemo/sorting_animate.py
/usr/lib64/python3.9/turtledemo/tree.py
/usr/lib64/python3.9/turtledemo/turtle.cfg
/usr/lib64/python3.9/turtledemo/two_canvases.py
/usr/lib64/python3.9/turtledemo/yinyang.py
References
Summary
In this tutorial we learn how to install python39-tkinter
on Rocky Linux 8 using yum and dnf.