pythoncentospython-2.x

how do I install python2 on centos 9 stream?


I am trying to figure out how to install python2 on centos9 stream. I am getting the errors below. Any suggestions?

sudo dnf install python2

Last metadata expiration check: 0:04:48 ago on Thu 24 Feb 2022 01:43:10 PM EST.

No match for argument: python2

Error: Unable to find a match: python2

Solution

  • how to install python2 on centos9 stream

    You cannot do that from any repo. No available repo / no packages.

    Reason: python2.7 had End Of Life January 1, 2020. https://endoflife.date/python