How To Install python3-pycxx-devel on Fedora 36
Introduction
In this tutorial we learn how to install python3-pycxx-devel
on Fedora 36.
What is python3-pycxx-devel
PyCXX is a set of classes to help create extensions of Python in the C++ language. The first part encapsulates the Python C API taking care of exceptions and ref counting. The second part supports the building of Python extension modules in C++. The python3-pycxx-devel package provides the header and source files for Python 3. There is no non-devel package needed.
We can use yum
or dnf
to install python3-pycxx-devel
on Fedora 36. In this tutorial we discuss both methods but you only need to choose one of method to install python3-pycxx-devel.
Install python3-pycxx-devel on Fedora 36 Using dnf
Update yum database with dnf
using the following command.
sudo dnf makecache --refresh
After updating yum database, We can install python3-pycxx-devel
using dnf
by running the following command:
sudo dnf -y install python3-pycxx-devel
Install python3-pycxx-devel on Fedora 36 Using yum
Update yum database with yum
using the following command.
sudo yum makecache --refresh
After updating yum database, We can install python3-pycxx-devel
using yum
by running the following command:
sudo yum -y install python3-pycxx-devel
How To Uninstall python3-pycxx-devel on Fedora 36
To uninstall only the python3-pycxx-devel
package we can use the following command:
sudo dnf remove python3-pycxx-devel
python3-pycxx-devel Package Contents on Fedora 36
/usr/include/CXX
/usr/include/CXX/Config.hxx
/usr/include/CXX/CxxDebug.hxx
/usr/include/CXX/Exception.hxx
/usr/include/CXX/Extensions.hxx
/usr/include/CXX/IndirectPythonInterface.hxx
/usr/include/CXX/Objects.hxx
/usr/include/CXX/Python3
/usr/include/CXX/Python3/Config.hxx
/usr/include/CXX/Python3/CxxDebug.hxx
/usr/include/CXX/Python3/Exception.hxx
/usr/include/CXX/Python3/ExtensionModule.hxx
/usr/include/CXX/Python3/ExtensionOldType.hxx
/usr/include/CXX/Python3/ExtensionType.hxx
/usr/include/CXX/Python3/ExtensionTypeBase.hxx
/usr/include/CXX/Python3/Extensions.hxx
/usr/include/CXX/Python3/IndirectPythonInterface.hxx
/usr/include/CXX/Python3/Objects.hxx
/usr/include/CXX/Python3/PythonType.hxx
/usr/include/CXX/Python3/cxx_standard_exceptions.hxx
/usr/include/CXX/Version.hxx
/usr/include/CXX/WrapPython.h
/usr/lib/python3.10/site-packages/CXX-7.1.7-py3.10.egg-info
/usr/share/doc/python3-pycxx-devel
/usr/share/doc/python3-pycxx-devel/COPYRIGHT
/usr/share/doc/python3-pycxx-devel/Python3
/usr/share/doc/python3-pycxx-devel/Python3/PyCXX.html
/usr/share/doc/python3-pycxx-devel/Python3/make_contents.py
/usr/share/doc/python3-pycxx-devel/Python3/style.css
/usr/share/doc/python3-pycxx-devel/README.html
/usr/share/pkgconfig/PyCXX.pc
/usr/src/CXX
/usr/src/CXX/IndirectPythonInterface.cxx
/usr/src/CXX/Python3
/usr/src/CXX/Python3/cxx_exceptions.cxx
/usr/src/CXX/Python3/cxx_extensions.cxx
/usr/src/CXX/Python3/cxxextensions.c
/usr/src/CXX/Python3/cxxsupport.cxx
/usr/src/CXX/cxx_exceptions.cxx
/usr/src/CXX/cxx_extensions.cxx
/usr/src/CXX/cxxextensions.c
/usr/src/CXX/cxxsupport.cxx
References
Summary
In this tutorial we learn how to install python3-pycxx-devel
on Fedora 36 using yum and [dnf]((/fedora/36/dnf/).