如何在 centos 9 流上安装 python2?

Joe*_*lio 6 centos python-2.x

我想弄清楚如何在 centos9 流上安装 python2。我收到以下错误。有什么建议么?

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
Run Code Online (Sandbox Code Playgroud)

Knu*_*sen 1

如何在centos9流上安装python2

您无法从任何存储库中执行此操作。没有可用的存储库/没有软件包。

原因:python2.7 两年前就已经终止生命了。