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

Last updated: October 05,2024

1. Install "python-debug.x86_64" package

This is a short guide on how to install python-debug.x86_64 on Amazon Linux 2

$ sudo yum makecache $ sudo yum install python-debug.x86_64

2. Uninstall "python-debug.x86_64" package

In this section, we are going to explain the necessary steps to uninstall python-debug.x86_64 on Amazon Linux 2:

$ sudo yum remove python-debug.x86_64 $ sudo yum autoremove

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

Loaded plugins: ovl, priorities
Available Packages
Name : python-debug
Arch : x86_64
Version : 2.7.18
Release : 1.amzn2.0.4
Size : 2.2 M
Repo : amzn2-core/2/x86_64
Summary : Debug version of the Python runtime
URL : http://www.python.org/
License : Python
Description : python-debug provides a version of the Python runtime with
: numerous debugging features enabled, aimed at advanced Python
: users, such as developers of Python extension modules.
:
: This version uses more memory and will be slower than the regular
: Python build, but is useful for tracking down reference-counting
: issues, and other bugs.
:
: The bytecodes are unchanged, so that .pyc files are compatible
: between the two version of Python, but the debugging features mean
: that C/C++ extension modules are ABI-incompatible with those built
: for the standard runtime.
:
: It shares installation directories with the standard Python
: runtime, so that .py and .pyc files can be shared. All compiled
: extension modules gain a "_d" suffix ("foo_d.so" rather than
: "foo.so") so that each Python implementation can load its own
: extensions.