How To Install python38-debug on AlmaLinux 8
Introduction
In this tutorial we learn how to install python38-debug
on AlmaLinux 8.
What is python38-debug
python38-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 debug build shares installation directories with the standard Python runtime. Python modules – source (.py), bytecode (.pyc), and C-API extensions (.cpython*.so) – are compatible between this and the standard version of Python. The debug runtime additionally supports debug builds of C-API extensions (with the “d” ABI flag) for debugging issues in those extensions.
We can use yum
or dnf
to install python38-debug
on AlmaLinux 8. In this tutorial we discuss both methods but you only need to choose one of method to install python38-debug.
Install python38-debug on AlmaLinux 8 Using dnf
Update yum database with dnf
using the following command.
sudo dnf makecache --refresh
After updating yum database, We can install python38-debug
using dnf
by running the following command:
sudo dnf -y install python38-debug
Install python38-debug on AlmaLinux 8 Using yum
Update yum database with yum
using the following command.
sudo yum makecache --refresh
After updating yum database, We can install python38-debug
using yum
by running the following command:
sudo yum -y install python38-debug
How To Uninstall python38-debug on AlmaLinux 8
To uninstall only the python38-debug
package we can use the following command:
sudo dnf remove python38-debug
References
Summary
In this tutorial we learn how to install python38-debug
on AlmaLinux 8 using yum and dnf.