How To Install python3-devel on Fedora 36

In this tutorial we learn how to install python3-devel in Fedora 36. python3-devel is Libraries and header files needed for Python development

Introduction

In this tutorial we learn how to install python3-devel on Fedora 36.

What is python3-devel

This package contains the header files and configuration needed to compile Python extension modules (typically written in C or C++), to embed Python into other programs, and to make binary distributions for Python libraries. It also contains the necessary macros to build RPM packages with Python modules and 2to3 tool, an automatic source converter from Python 2.X.

We can use yum or dnf to install python3-devel on Fedora 36. In this tutorial we discuss both methods but you only need to choose one of method to install python3-devel.

Install python3-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-devel using dnf by running the following command:

sudo dnf -y install python3-devel

Install python3-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-devel using yum by running the following command:

sudo yum -y install python3-devel

How To Uninstall python3-devel on Fedora 36

To uninstall only the python3-devel package we can use the following command:

sudo dnf remove python3-devel

python3-devel Package Contents on Fedora 36

/usr/bin/2to3
/usr/bin/2to3-3.10
/usr/bin/msgfmt.py
/usr/bin/msgfmt3.10.py
/usr/bin/msgfmt3.py
/usr/bin/pathfix.py
/usr/bin/pathfix3.10.py
/usr/bin/pygettext.py
/usr/bin/pygettext3.10.py
/usr/bin/pygettext3.py
/usr/bin/python-config
/usr/bin/python3-config
/usr/bin/python3.10-config
/usr/bin/python3.10-x86_64-config
/usr/include/python3.10/Python.h
/usr/include/python3.10/abstract.h
/usr/include/python3.10/bltinmodule.h
/usr/include/python3.10/boolobject.h
/usr/include/python3.10/bytearrayobject.h
/usr/include/python3.10/bytesobject.h
/usr/include/python3.10/cellobject.h
/usr/include/python3.10/ceval.h
/usr/include/python3.10/classobject.h
/usr/include/python3.10/code.h
/usr/include/python3.10/codecs.h
/usr/include/python3.10/compile.h
/usr/include/python3.10/complexobject.h
/usr/include/python3.10/context.h
/usr/include/python3.10/cpython
/usr/include/python3.10/cpython/abstract.h
/usr/include/python3.10/cpython/bytearrayobject.h
/usr/include/python3.10/cpython/bytesobject.h
/usr/include/python3.10/cpython/ceval.h
/usr/include/python3.10/cpython/code.h
/usr/include/python3.10/cpython/compile.h
/usr/include/python3.10/cpython/dictobject.h
/usr/include/python3.10/cpython/fileobject.h
/usr/include/python3.10/cpython/fileutils.h
/usr/include/python3.10/cpython/frameobject.h
/usr/include/python3.10/cpython/import.h
/usr/include/python3.10/cpython/initconfig.h
/usr/include/python3.10/cpython/interpreteridobject.h
/usr/include/python3.10/cpython/listobject.h
/usr/include/python3.10/cpython/methodobject.h
/usr/include/python3.10/cpython/object.h
/usr/include/python3.10/cpython/objimpl.h
/usr/include/python3.10/cpython/odictobject.h
/usr/include/python3.10/cpython/picklebufobject.h
/usr/include/python3.10/cpython/pyctype.h
/usr/include/python3.10/cpython/pydebug.h
/usr/include/python3.10/cpython/pyerrors.h
/usr/include/python3.10/cpython/pyfpe.h
/usr/include/python3.10/cpython/pylifecycle.h
/usr/include/python3.10/cpython/pymem.h
/usr/include/python3.10/cpython/pystate.h
/usr/include/python3.10/cpython/pythonrun.h
/usr/include/python3.10/cpython/pytime.h
/usr/include/python3.10/cpython/sysmodule.h
/usr/include/python3.10/cpython/traceback.h
/usr/include/python3.10/cpython/tupleobject.h
/usr/include/python3.10/cpython/unicodeobject.h
/usr/include/python3.10/datetime.h
/usr/include/python3.10/descrobject.h
/usr/include/python3.10/dictobject.h
/usr/include/python3.10/dynamic_annotations.h
/usr/include/python3.10/enumobject.h
/usr/include/python3.10/errcode.h
/usr/include/python3.10/eval.h
/usr/include/python3.10/exports.h
/usr/include/python3.10/fileobject.h
/usr/include/python3.10/fileutils.h
/usr/include/python3.10/floatobject.h
/usr/include/python3.10/frameobject.h
/usr/include/python3.10/funcobject.h
/usr/include/python3.10/genericaliasobject.h
/usr/include/python3.10/genobject.h
/usr/include/python3.10/import.h
/usr/include/python3.10/internal
/usr/include/python3.10/internal/pycore_abstract.h
/usr/include/python3.10/internal/pycore_accu.h
/usr/include/python3.10/internal/pycore_asdl.h
/usr/include/python3.10/internal/pycore_ast.h
/usr/include/python3.10/internal/pycore_ast_state.h
/usr/include/python3.10/internal/pycore_atomic.h
/usr/include/python3.10/internal/pycore_atomic_funcs.h
/usr/include/python3.10/internal/pycore_bitutils.h
/usr/include/python3.10/internal/pycore_blocks_output_buffer.h
/usr/include/python3.10/internal/pycore_bytes_methods.h
/usr/include/python3.10/internal/pycore_call.h
/usr/include/python3.10/internal/pycore_ceval.h
/usr/include/python3.10/internal/pycore_code.h
/usr/include/python3.10/internal/pycore_compile.h
/usr/include/python3.10/internal/pycore_condvar.h
/usr/include/python3.10/internal/pycore_context.h
/usr/include/python3.10/internal/pycore_dtoa.h
/usr/include/python3.10/internal/pycore_fileutils.h
/usr/include/python3.10/internal/pycore_format.h
/usr/include/python3.10/internal/pycore_gc.h
/usr/include/python3.10/internal/pycore_getopt.h
/usr/include/python3.10/internal/pycore_gil.h
/usr/include/python3.10/internal/pycore_hamt.h
/usr/include/python3.10/internal/pycore_hashtable.h
/usr/include/python3.10/internal/pycore_import.h
/usr/include/python3.10/internal/pycore_initconfig.h
/usr/include/python3.10/internal/pycore_interp.h
/usr/include/python3.10/internal/pycore_list.h
/usr/include/python3.10/internal/pycore_long.h
/usr/include/python3.10/internal/pycore_moduleobject.h
/usr/include/python3.10/internal/pycore_object.h
/usr/include/python3.10/internal/pycore_parser.h
/usr/include/python3.10/internal/pycore_pathconfig.h
/usr/include/python3.10/internal/pycore_pyarena.h
/usr/include/python3.10/internal/pycore_pyerrors.h
/usr/include/python3.10/internal/pycore_pyhash.h
/usr/include/python3.10/internal/pycore_pylifecycle.h
/usr/include/python3.10/internal/pycore_pymem.h
/usr/include/python3.10/internal/pycore_pystate.h
/usr/include/python3.10/internal/pycore_runtime.h
/usr/include/python3.10/internal/pycore_structseq.h
/usr/include/python3.10/internal/pycore_symtable.h
/usr/include/python3.10/internal/pycore_sysmodule.h
/usr/include/python3.10/internal/pycore_traceback.h
/usr/include/python3.10/internal/pycore_tuple.h
/usr/include/python3.10/internal/pycore_ucnhash.h
/usr/include/python3.10/internal/pycore_unionobject.h
/usr/include/python3.10/internal/pycore_warnings.h
/usr/include/python3.10/interpreteridobject.h
/usr/include/python3.10/intrcheck.h
/usr/include/python3.10/iterobject.h
/usr/include/python3.10/listobject.h
/usr/include/python3.10/longintrepr.h
/usr/include/python3.10/longobject.h
/usr/include/python3.10/marshal.h
/usr/include/python3.10/memoryobject.h
/usr/include/python3.10/methodobject.h
/usr/include/python3.10/modsupport.h
/usr/include/python3.10/moduleobject.h
/usr/include/python3.10/namespaceobject.h
/usr/include/python3.10/object.h
/usr/include/python3.10/objimpl.h
/usr/include/python3.10/opcode.h
/usr/include/python3.10/osdefs.h
/usr/include/python3.10/osmodule.h
/usr/include/python3.10/patchlevel.h
/usr/include/python3.10/py_curses.h
/usr/include/python3.10/pycapsule.h
/usr/include/python3.10/pyconfig.h
/usr/include/python3.10/pydtrace.h
/usr/include/python3.10/pyerrors.h
/usr/include/python3.10/pyexpat.h
/usr/include/python3.10/pyframe.h
/usr/include/python3.10/pyhash.h
/usr/include/python3.10/pylifecycle.h
/usr/include/python3.10/pymacconfig.h
/usr/include/python3.10/pymacro.h
/usr/include/python3.10/pymath.h
/usr/include/python3.10/pymem.h
/usr/include/python3.10/pyport.h
/usr/include/python3.10/pystate.h
/usr/include/python3.10/pystrcmp.h
/usr/include/python3.10/pystrhex.h
/usr/include/python3.10/pystrtod.h
/usr/include/python3.10/pythonrun.h
/usr/include/python3.10/pythread.h
/usr/include/python3.10/rangeobject.h
/usr/include/python3.10/setobject.h
/usr/include/python3.10/sliceobject.h
/usr/include/python3.10/structmember.h
/usr/include/python3.10/structseq.h
/usr/include/python3.10/sysmodule.h
/usr/include/python3.10/token.h
/usr/include/python3.10/traceback.h
/usr/include/python3.10/tracemalloc.h
/usr/include/python3.10/tupleobject.h
/usr/include/python3.10/typeslots.h
/usr/include/python3.10/unicodeobject.h
/usr/include/python3.10/warnings.h
/usr/include/python3.10/weakrefobject.h
/usr/lib64/libpython3.10.so
/usr/lib64/pkgconfig/python-3.10-embed.pc
/usr/lib64/pkgconfig/python-3.10.pc
/usr/lib64/pkgconfig/python.pc
/usr/lib64/pkgconfig/python3-embed.pc
/usr/lib64/pkgconfig/python3.pc
/usr/lib64/python3.10/config-3.10-x86_64-linux-gnu/Setup
/usr/lib64/python3.10/config-3.10-x86_64-linux-gnu/Setup.local
/usr/lib64/python3.10/config-3.10-x86_64-linux-gnu/__pycache__
/usr/lib64/python3.10/config-3.10-x86_64-linux-gnu/__pycache__/python-config.cpython-310.opt-1.pyc
/usr/lib64/python3.10/config-3.10-x86_64-linux-gnu/__pycache__/python-config.cpython-310.opt-2.pyc
/usr/lib64/python3.10/config-3.10-x86_64-linux-gnu/__pycache__/python-config.cpython-310.pyc
/usr/lib64/python3.10/config-3.10-x86_64-linux-gnu/config.c
/usr/lib64/python3.10/config-3.10-x86_64-linux-gnu/config.c.in
/usr/lib64/python3.10/config-3.10-x86_64-linux-gnu/install-sh
/usr/lib64/python3.10/config-3.10-x86_64-linux-gnu/makesetup
/usr/lib64/python3.10/config-3.10-x86_64-linux-gnu/python-config.py
/usr/share/doc/python3-devel
/usr/share/doc/python3-devel/README.valgrind
/usr/share/doc/python3-devel/gdbinit
/usr/share/doc/python3-devel/valgrind-python.supp

References

Summary

In this tutorial we learn how to install python3-devel on Fedora 36 using yum and [dnf]((/fedora/36/dnf/).


title: “How To Install python3-devel on Fedora 36” linkTitle: “python3-devel” type: “docs” description: “In this tutorial we learn how to install python3-devel in Fedora 36. python3-devel is Libraries and header files needed for Python development” date: “2022-08-17” lastmod: “2022-08-17” #image: /images/fedora/36/python3-devel-featured.png

Introduction

In this tutorial we learn how to install python3-devel on Fedora 36.

What is python3-devel

This package contains the header files and configuration needed to compile Python extension modules (typically written in C or C++), to embed Python into other programs, and to make binary distributions for Python libraries. It also contains the necessary macros to build RPM packages with Python modules and 2to3 tool, an automatic source converter from Python 2.X.

We can use yum or dnf to install python3-devel on Fedora 36. In this tutorial we discuss both methods but you only need to choose one of method to install python3-devel.

Install python3-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-devel using dnf by running the following command:

sudo dnf -y install python3-devel

Install python3-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-devel using yum by running the following command:

sudo yum -y install python3-devel

How To Uninstall python3-devel on Fedora 36

To uninstall only the python3-devel package we can use the following command:

sudo dnf remove python3-devel

python3-devel Package Contents on Fedora 36

/usr/bin/2to3
/usr/bin/2to3-3.10
/usr/bin/msgfmt.py
/usr/bin/msgfmt3.10.py
/usr/bin/msgfmt3.py
/usr/bin/pathfix.py
/usr/bin/pathfix3.10.py
/usr/bin/pygettext.py
/usr/bin/pygettext3.10.py
/usr/bin/pygettext3.py
/usr/bin/python-config
/usr/bin/python3-config
/usr/bin/python3.10-config
/usr/bin/python3.10-i686-config
/usr/include/python3.10/Python.h
/usr/include/python3.10/abstract.h
/usr/include/python3.10/bltinmodule.h
/usr/include/python3.10/boolobject.h
/usr/include/python3.10/bytearrayobject.h
/usr/include/python3.10/bytesobject.h
/usr/include/python3.10/cellobject.h
/usr/include/python3.10/ceval.h
/usr/include/python3.10/classobject.h
/usr/include/python3.10/code.h
/usr/include/python3.10/codecs.h
/usr/include/python3.10/compile.h
/usr/include/python3.10/complexobject.h
/usr/include/python3.10/context.h
/usr/include/python3.10/cpython
/usr/include/python3.10/cpython/abstract.h
/usr/include/python3.10/cpython/bytearrayobject.h
/usr/include/python3.10/cpython/bytesobject.h
/usr/include/python3.10/cpython/ceval.h
/usr/include/python3.10/cpython/code.h
/usr/include/python3.10/cpython/compile.h
/usr/include/python3.10/cpython/dictobject.h
/usr/include/python3.10/cpython/fileobject.h
/usr/include/python3.10/cpython/fileutils.h
/usr/include/python3.10/cpython/frameobject.h
/usr/include/python3.10/cpython/import.h
/usr/include/python3.10/cpython/initconfig.h
/usr/include/python3.10/cpython/interpreteridobject.h
/usr/include/python3.10/cpython/listobject.h
/usr/include/python3.10/cpython/methodobject.h
/usr/include/python3.10/cpython/object.h
/usr/include/python3.10/cpython/objimpl.h
/usr/include/python3.10/cpython/odictobject.h
/usr/include/python3.10/cpython/picklebufobject.h
/usr/include/python3.10/cpython/pyctype.h
/usr/include/python3.10/cpython/pydebug.h
/usr/include/python3.10/cpython/pyerrors.h
/usr/include/python3.10/cpython/pyfpe.h
/usr/include/python3.10/cpython/pylifecycle.h
/usr/include/python3.10/cpython/pymem.h
/usr/include/python3.10/cpython/pystate.h
/usr/include/python3.10/cpython/pythonrun.h
/usr/include/python3.10/cpython/pytime.h
/usr/include/python3.10/cpython/sysmodule.h
/usr/include/python3.10/cpython/traceback.h
/usr/include/python3.10/cpython/tupleobject.h
/usr/include/python3.10/cpython/unicodeobject.h
/usr/include/python3.10/datetime.h
/usr/include/python3.10/descrobject.h
/usr/include/python3.10/dictobject.h
/usr/include/python3.10/dynamic_annotations.h
/usr/include/python3.10/enumobject.h
/usr/include/python3.10/errcode.h
/usr/include/python3.10/eval.h
/usr/include/python3.10/exports.h
/usr/include/python3.10/fileobject.h
/usr/include/python3.10/fileutils.h
/usr/include/python3.10/floatobject.h
/usr/include/python3.10/frameobject.h
/usr/include/python3.10/funcobject.h
/usr/include/python3.10/genericaliasobject.h
/usr/include/python3.10/genobject.h
/usr/include/python3.10/import.h
/usr/include/python3.10/internal
/usr/include/python3.10/internal/pycore_abstract.h
/usr/include/python3.10/internal/pycore_accu.h
/usr/include/python3.10/internal/pycore_asdl.h
/usr/include/python3.10/internal/pycore_ast.h
/usr/include/python3.10/internal/pycore_ast_state.h
/usr/include/python3.10/internal/pycore_atomic.h
/usr/include/python3.10/internal/pycore_atomic_funcs.h
/usr/include/python3.10/internal/pycore_bitutils.h
/usr/include/python3.10/internal/pycore_blocks_output_buffer.h
/usr/include/python3.10/internal/pycore_bytes_methods.h
/usr/include/python3.10/internal/pycore_call.h
/usr/include/python3.10/internal/pycore_ceval.h
/usr/include/python3.10/internal/pycore_code.h
/usr/include/python3.10/internal/pycore_compile.h
/usr/include/python3.10/internal/pycore_condvar.h
/usr/include/python3.10/internal/pycore_context.h
/usr/include/python3.10/internal/pycore_dtoa.h
/usr/include/python3.10/internal/pycore_fileutils.h
/usr/include/python3.10/internal/pycore_format.h
/usr/include/python3.10/internal/pycore_gc.h
/usr/include/python3.10/internal/pycore_getopt.h
/usr/include/python3.10/internal/pycore_gil.h
/usr/include/python3.10/internal/pycore_hamt.h
/usr/include/python3.10/internal/pycore_hashtable.h
/usr/include/python3.10/internal/pycore_import.h
/usr/include/python3.10/internal/pycore_initconfig.h
/usr/include/python3.10/internal/pycore_interp.h
/usr/include/python3.10/internal/pycore_list.h
/usr/include/python3.10/internal/pycore_long.h
/usr/include/python3.10/internal/pycore_moduleobject.h
/usr/include/python3.10/internal/pycore_object.h
/usr/include/python3.10/internal/pycore_parser.h
/usr/include/python3.10/internal/pycore_pathconfig.h
/usr/include/python3.10/internal/pycore_pyarena.h
/usr/include/python3.10/internal/pycore_pyerrors.h
/usr/include/python3.10/internal/pycore_pyhash.h
/usr/include/python3.10/internal/pycore_pylifecycle.h
/usr/include/python3.10/internal/pycore_pymem.h
/usr/include/python3.10/internal/pycore_pystate.h
/usr/include/python3.10/internal/pycore_runtime.h
/usr/include/python3.10/internal/pycore_structseq.h
/usr/include/python3.10/internal/pycore_symtable.h
/usr/include/python3.10/internal/pycore_sysmodule.h
/usr/include/python3.10/internal/pycore_traceback.h
/usr/include/python3.10/internal/pycore_tuple.h
/usr/include/python3.10/internal/pycore_ucnhash.h
/usr/include/python3.10/internal/pycore_unionobject.h
/usr/include/python3.10/internal/pycore_warnings.h
/usr/include/python3.10/interpreteridobject.h
/usr/include/python3.10/intrcheck.h
/usr/include/python3.10/iterobject.h
/usr/include/python3.10/listobject.h
/usr/include/python3.10/longintrepr.h
/usr/include/python3.10/longobject.h
/usr/include/python3.10/marshal.h
/usr/include/python3.10/memoryobject.h
/usr/include/python3.10/methodobject.h
/usr/include/python3.10/modsupport.h
/usr/include/python3.10/moduleobject.h
/usr/include/python3.10/namespaceobject.h
/usr/include/python3.10/object.h
/usr/include/python3.10/objimpl.h
/usr/include/python3.10/opcode.h
/usr/include/python3.10/osdefs.h
/usr/include/python3.10/osmodule.h
/usr/include/python3.10/patchlevel.h
/usr/include/python3.10/py_curses.h
/usr/include/python3.10/pycapsule.h
/usr/include/python3.10/pyconfig.h
/usr/include/python3.10/pydtrace.h
/usr/include/python3.10/pyerrors.h
/usr/include/python3.10/pyexpat.h
/usr/include/python3.10/pyframe.h
/usr/include/python3.10/pyhash.h
/usr/include/python3.10/pylifecycle.h
/usr/include/python3.10/pymacconfig.h
/usr/include/python3.10/pymacro.h
/usr/include/python3.10/pymath.h
/usr/include/python3.10/pymem.h
/usr/include/python3.10/pyport.h
/usr/include/python3.10/pystate.h
/usr/include/python3.10/pystrcmp.h
/usr/include/python3.10/pystrhex.h
/usr/include/python3.10/pystrtod.h
/usr/include/python3.10/pythonrun.h
/usr/include/python3.10/pythread.h
/usr/include/python3.10/rangeobject.h
/usr/include/python3.10/setobject.h
/usr/include/python3.10/sliceobject.h
/usr/include/python3.10/structmember.h
/usr/include/python3.10/structseq.h
/usr/include/python3.10/sysmodule.h
/usr/include/python3.10/token.h
/usr/include/python3.10/traceback.h
/usr/include/python3.10/tracemalloc.h
/usr/include/python3.10/tupleobject.h
/usr/include/python3.10/typeslots.h
/usr/include/python3.10/unicodeobject.h
/usr/include/python3.10/warnings.h
/usr/include/python3.10/weakrefobject.h
/usr/lib/libpython3.10.so
/usr/lib/pkgconfig/python-3.10-embed.pc
/usr/lib/pkgconfig/python-3.10.pc
/usr/lib/pkgconfig/python.pc
/usr/lib/pkgconfig/python3-embed.pc
/usr/lib/pkgconfig/python3.pc
/usr/lib/python3.10/config-3.10-i386-linux-gnu/Setup
/usr/lib/python3.10/config-3.10-i386-linux-gnu/Setup.local
/usr/lib/python3.10/config-3.10-i386-linux-gnu/__pycache__
/usr/lib/python3.10/config-3.10-i386-linux-gnu/__pycache__/python-config.cpython-310.opt-1.pyc
/usr/lib/python3.10/config-3.10-i386-linux-gnu/__pycache__/python-config.cpython-310.opt-2.pyc
/usr/lib/python3.10/config-3.10-i386-linux-gnu/__pycache__/python-config.cpython-310.pyc
/usr/lib/python3.10/config-3.10-i386-linux-gnu/config.c
/usr/lib/python3.10/config-3.10-i386-linux-gnu/config.c.in
/usr/lib/python3.10/config-3.10-i386-linux-gnu/install-sh
/usr/lib/python3.10/config-3.10-i386-linux-gnu/makesetup
/usr/lib/python3.10/config-3.10-i386-linux-gnu/python-config.py
/usr/share/doc/python3-devel
/usr/share/doc/python3-devel/README.valgrind
/usr/share/doc/python3-devel/gdbinit
/usr/share/doc/python3-devel/valgrind-python.supp

References

Summary

In this tutorial we learn how to install python3-devel on Fedora 36 using yum and [dnf]((/fedora/36/dnf/).