How to Install and Uninstall python2.7.x86_64 Package on Fedora 39

Last updated: November 26,2024

1. Install "python2.7.x86_64" package

This tutorial shows how to install python2.7.x86_64 on Fedora 39

$ sudo dnf update $ sudo dnf install python2.7.x86_64

2. Uninstall "python2.7.x86_64" package

Please follow the guidelines below to uninstall python2.7.x86_64 on Fedora 39:

$ sudo dnf remove python2.7.x86_64 $ sudo dnf autoremove

3. Information about the python2.7.x86_64 package on Fedora 39

Last metadata expiration check: 1:14:00 ago on Thu Mar 7 17:44:52 2024.
Available Packages
Name : python2.7
Version : 2.7.18
Release : 37.fc39
Architecture : x86_64
Size : 13 M
Source : python2.7-2.7.18-37.fc39.src.rpm
Repository : updates
Summary : Version 2.7 of the Python interpreter
URL : https://www.python.org/
License : Python and MIT and ASL 2.0 and BSD and ISC and LGPLv2 and MPLv2.0 and (ASL 2.0 or BSD)
Description : Python 2 is an old version of the language that is incompatible with the 3.x
: line of releases. The language is mostly the same, but many details, especially
: how built-in objects like dictionaries and strings work, have changed
: considerably, and a lot of deprecated features have finally been removed in the
: 3.x line.
:
: Note that Python 2 is not supported upstream after 2020-01-01, please use the
: python3 package instead if you can.
:
: This package also provides the "python2" executable.