How to Install and Uninstall python.x86_64 Package on Amazon Linux 2

Last updated: May 17,2024

1. Install "python.x86_64" package

Please follow the instructions below to install python.x86_64 on Amazon Linux 2

$ sudo yum makecache $ sudo yum install python.x86_64

2. Uninstall "python.x86_64" package

Please follow the steps below to uninstall python.x86_64 on Amazon Linux 2:

$ sudo yum remove python.x86_64 $ sudo yum autoremove

3. Information about the python.x86_64 package on Amazon Linux 2

Loaded plugins: ovl, priorities
Installed Packages
Name : python
Arch : x86_64
Version : 2.7.18
Release : 1.amzn2.0.4
Size : 79 k
Repo : installed
Summary : An interpreted, interactive, object-oriented programming language
URL : http://www.python.org/
License : Python
Description : Python is an interpreted, interactive, object-oriented programming
: language often compared to Tcl, Perl, Scheme or Java. Python
: includes modules, classes, exceptions, very high level dynamic
: data types and dynamic typing. Python supports interfaces to many
: system calls and libraries, as well as to various windowing
: systems (X11, Motif, Tk, Mac and MFC).
:
: Programmers can write new built-in modules for Python in C or C++.
: Python can be used as an extension language for applications that
: need a programmable interface.
:
: Note that documentation for Python is provided in the python-docs
: package.
:
: This package provides the "python" executable; most of the actual
: implementation is within the "python-libs" package.