How Do I Install The “right” Python3-tkinter In CentOS Stream 8?

Home » CentOS » How Do I Install The “right” Python3-tkinter In CentOS Stream 8?
CentOS 3 Comments

In CentOS Stream 8, A yum upgrade just upgraded platform-python to platform-python-3.6.8-41.el8.x86_64.rpm. The upgrade wouldn’t go through until I removed python3-tkinter-3.6.8-40.el8.x86_64.

Now I want to reinstall python3-tkinter, and the only version yum is offering is 3.6.8-40, and it offers to downgrade platform-python to
3.6.8-41.

python3-tkinter-3.6.8-37.el8.x86_64.rpm

python3-tkinter-3.6.8-38.el8.x86_64.rpm

python3-tkinter-3.6.8-39.el8.x86_64.rpm

python3-tkinter-3.6.8-40.el8.x86_64.rpm

python3-tkinter-3.6.8-41.el8.x86_64.rpm

How do I get yum/dnf to let me install the “right” one (3.6.8-41)?

3 thoughts on - How Do I Install The “right” Python3-tkinter In CentOS Stream 8?

  • I forgot to say that all those versions of python3-tkinter are in the CentOS repo, but yum only “shows” me one.

  • The python3-tkinter package is a sub package of the python3 source package, which includes platform-python. They are versioned together, so you can’t upgrade one without needing the updates for the other.

    Since python3-tkinter is in AppStream, maybe you don’t have that enabled? You need the 8Stream repo, not the one for base 8.

    See the spec file to see it is a sub package:
    https://git.CentOS.org/rpms/python3/blob/c8s/f/SPECS/python3.spec#_830


    Jonathan Billings

  • I’m not sure what happened, but today I’m able to install python3-idle and python3-tkinter, and I didn’t have to downgrade platform-python. The correct versions came through.

    I don’t know what was different yesterday, but today it’s working.

    Thanks.