How To Install python36-debug on Rocky Linux 8
Introduction
In this tutorial we learn how to install python36-debug
on Rocky Linux 8.
What is python36-debug
python36-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 bytecode format is unchanged, so that .pyc files are compatible between this and the standard version of Python, but the debugging features mean that C/C++ extension modules are ABI-incompatible and must be built for each version separately. The debug build shares installation directories with the standard Python runtime, so that .py and .pyc files can be shared. Compiled extension modules use a special ABI flag (“d”) in the filename, so extensions for both verisons can co-exist in the same directory.
We can use yum
or dnf
to install python36-debug
on Rocky Linux 8. In this tutorial we discuss both methods but you only need to choose one of method to install python36-debug.
Install python36-debug on Rocky Linux 8 Using dnf
Update yum database with dnf
using the following command.
sudo dnf makecache --refresh
After updating yum database, We can install python36-debug
using dnf
by running the following command:
sudo dnf -y install python36-debug
Install python36-debug on Rocky Linux 8 Using yum
Update yum database with yum
using the following command.
sudo yum makecache --refresh
After updating yum database, We can install python36-debug
using yum
by running the following command:
sudo yum -y install python36-debug
How To Uninstall python36-debug on Rocky Linux 8
To uninstall only the python36-debug
package we can use the following command:
sudo dnf remove python36-debug
python36-debug Package Contents on Rocky Linux 8
/usr/bin/python3-debug
/usr/bin/python3-debug-config
/usr/bin/python3.6-debug
/usr/bin/python3.6-debug-config
/usr/bin/python3.6dm
/usr/bin/python3.6dm-config
/usr/bin/python3.6dm-x86_64-config
/usr/share/doc/python36-debug
/usr/share/doc/python36-debug/README
/usr/share/licenses/python36-debug
/usr/share/licenses/python36-debug/LICENSE
References
Summary
In this tutorial we learn how to install python36-debug
on Rocky Linux 8 using yum and dnf.