How to Install and Uninstall python2.x86_64 Package on Rocky Linux 8

Last updated: September 19,2024

1. Install "python2.x86_64" package

Please follow the step by step instructions below to install python2.x86_64 on Rocky Linux 8

$ sudo dnf update $ sudo dnf install python2.x86_64

2. Uninstall "python2.x86_64" package

This guide covers the steps necessary to uninstall python2.x86_64 on Rocky Linux 8:

$ sudo dnf remove python2.x86_64 $ sudo dnf autoremove

3. Information about the python2.x86_64 package on Rocky Linux 8

Last metadata expiration check: 0:04:26 ago on Mon Sep 12 10:27:18 2022.
Available Packages
Name : python2
Version : 2.7.18
Release : 10.module+el8.6.0+793+57002515.rocky.0.2
Architecture : x86_64
Size : 110 k
Source : python2-2.7.18-10.module+el8.6.0+793+57002515.rocky.0.2.src.rpm
Repository : appstream
Summary : An interpreted, interactive, object-oriented programming language
URL : https://www.python.org/
License : Python
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 documentation for Python 2 is provided in the python2-docs
: package.
:
: This package provides the "python2" executable; most of the actual
: implementation is within the "python2-libs" package.
: For the unversioned "python" executable, see manual page "unversioned-python".