How To Install python3-freetype on Fedora 36

In this tutorial we learn how to install python3-freetype in Fedora 36. python3-freetype is Freetype python bindings

Introduction

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

What is python3-freetype

Freetype python bindings.

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

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

sudo dnf -y install python3-freetype

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

sudo yum -y install python3-freetype

How To Uninstall python3-freetype on Fedora 36

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

sudo dnf remove python3-freetype

python3-freetype Package Contents on Fedora 36

/usr/lib/python3.10/site-packages/freetype
/usr/lib/python3.10/site-packages/freetype/__init__.py
/usr/lib/python3.10/site-packages/freetype/__pycache__
/usr/lib/python3.10/site-packages/freetype/__pycache__/__init__.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/freetype/__pycache__/__init__.cpython-310.pyc
/usr/lib/python3.10/site-packages/freetype/__pycache__/ft_errors.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/freetype/__pycache__/ft_errors.cpython-310.pyc
/usr/lib/python3.10/site-packages/freetype/__pycache__/ft_structs.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/freetype/__pycache__/ft_structs.cpython-310.pyc
/usr/lib/python3.10/site-packages/freetype/__pycache__/ft_types.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/freetype/__pycache__/ft_types.cpython-310.pyc
/usr/lib/python3.10/site-packages/freetype/__pycache__/raw.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/freetype/__pycache__/raw.cpython-310.pyc
/usr/lib/python3.10/site-packages/freetype/ft_enums
/usr/lib/python3.10/site-packages/freetype/ft_enums/__init__.py
/usr/lib/python3.10/site-packages/freetype/ft_enums/__pycache__
/usr/lib/python3.10/site-packages/freetype/ft_enums/__pycache__/__init__.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/freetype/ft_enums/__pycache__/__init__.cpython-310.pyc
/usr/lib/python3.10/site-packages/freetype/ft_enums/__pycache__/ft_curve_tags.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/freetype/ft_enums/__pycache__/ft_curve_tags.cpython-310.pyc
/usr/lib/python3.10/site-packages/freetype/ft_enums/__pycache__/ft_encodings.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/freetype/ft_enums/__pycache__/ft_encodings.cpython-310.pyc
/usr/lib/python3.10/site-packages/freetype/ft_enums/__pycache__/ft_face_flags.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/freetype/ft_enums/__pycache__/ft_face_flags.cpython-310.pyc
/usr/lib/python3.10/site-packages/freetype/ft_enums/__pycache__/ft_fstypes.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/freetype/ft_enums/__pycache__/ft_fstypes.cpython-310.pyc
/usr/lib/python3.10/site-packages/freetype/ft_enums/__pycache__/ft_glyph_bbox_modes.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/freetype/ft_enums/__pycache__/ft_glyph_bbox_modes.cpython-310.pyc
/usr/lib/python3.10/site-packages/freetype/ft_enums/__pycache__/ft_glyph_formats.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/freetype/ft_enums/__pycache__/ft_glyph_formats.cpython-310.pyc
/usr/lib/python3.10/site-packages/freetype/ft_enums/__pycache__/ft_kerning_modes.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/freetype/ft_enums/__pycache__/ft_kerning_modes.cpython-310.pyc
/usr/lib/python3.10/site-packages/freetype/ft_enums/__pycache__/ft_lcd_filters.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/freetype/ft_enums/__pycache__/ft_lcd_filters.cpython-310.pyc
/usr/lib/python3.10/site-packages/freetype/ft_enums/__pycache__/ft_load_flags.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/freetype/ft_enums/__pycache__/ft_load_flags.cpython-310.pyc
/usr/lib/python3.10/site-packages/freetype/ft_enums/__pycache__/ft_load_targets.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/freetype/ft_enums/__pycache__/ft_load_targets.cpython-310.pyc
/usr/lib/python3.10/site-packages/freetype/ft_enums/__pycache__/ft_open_modes.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/freetype/ft_enums/__pycache__/ft_open_modes.cpython-310.pyc
/usr/lib/python3.10/site-packages/freetype/ft_enums/__pycache__/ft_outline_flags.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/freetype/ft_enums/__pycache__/ft_outline_flags.cpython-310.pyc
/usr/lib/python3.10/site-packages/freetype/ft_enums/__pycache__/ft_pixel_modes.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/freetype/ft_enums/__pycache__/ft_pixel_modes.cpython-310.pyc
/usr/lib/python3.10/site-packages/freetype/ft_enums/__pycache__/ft_render_modes.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/freetype/ft_enums/__pycache__/ft_render_modes.cpython-310.pyc
/usr/lib/python3.10/site-packages/freetype/ft_enums/__pycache__/ft_stroker_borders.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/freetype/ft_enums/__pycache__/ft_stroker_borders.cpython-310.pyc
/usr/lib/python3.10/site-packages/freetype/ft_enums/__pycache__/ft_stroker_linecaps.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/freetype/ft_enums/__pycache__/ft_stroker_linecaps.cpython-310.pyc
/usr/lib/python3.10/site-packages/freetype/ft_enums/__pycache__/ft_stroker_linejoins.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/freetype/ft_enums/__pycache__/ft_stroker_linejoins.cpython-310.pyc
/usr/lib/python3.10/site-packages/freetype/ft_enums/__pycache__/ft_style_flags.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/freetype/ft_enums/__pycache__/ft_style_flags.cpython-310.pyc
/usr/lib/python3.10/site-packages/freetype/ft_enums/__pycache__/tt_adobe_ids.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/freetype/ft_enums/__pycache__/tt_adobe_ids.cpython-310.pyc
/usr/lib/python3.10/site-packages/freetype/ft_enums/__pycache__/tt_apple_ids.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/freetype/ft_enums/__pycache__/tt_apple_ids.cpython-310.pyc
/usr/lib/python3.10/site-packages/freetype/ft_enums/__pycache__/tt_mac_ids.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/freetype/ft_enums/__pycache__/tt_mac_ids.cpython-310.pyc
/usr/lib/python3.10/site-packages/freetype/ft_enums/__pycache__/tt_mac_langids.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/freetype/ft_enums/__pycache__/tt_mac_langids.cpython-310.pyc
/usr/lib/python3.10/site-packages/freetype/ft_enums/__pycache__/tt_ms_ids.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/freetype/ft_enums/__pycache__/tt_ms_ids.cpython-310.pyc
/usr/lib/python3.10/site-packages/freetype/ft_enums/__pycache__/tt_ms_langids.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/freetype/ft_enums/__pycache__/tt_ms_langids.cpython-310.pyc
/usr/lib/python3.10/site-packages/freetype/ft_enums/__pycache__/tt_name_ids.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/freetype/ft_enums/__pycache__/tt_name_ids.cpython-310.pyc
/usr/lib/python3.10/site-packages/freetype/ft_enums/__pycache__/tt_platforms.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/freetype/ft_enums/__pycache__/tt_platforms.cpython-310.pyc
/usr/lib/python3.10/site-packages/freetype/ft_enums/ft_curve_tags.py
/usr/lib/python3.10/site-packages/freetype/ft_enums/ft_encodings.py
/usr/lib/python3.10/site-packages/freetype/ft_enums/ft_face_flags.py
/usr/lib/python3.10/site-packages/freetype/ft_enums/ft_fstypes.py
/usr/lib/python3.10/site-packages/freetype/ft_enums/ft_glyph_bbox_modes.py
/usr/lib/python3.10/site-packages/freetype/ft_enums/ft_glyph_formats.py
/usr/lib/python3.10/site-packages/freetype/ft_enums/ft_kerning_modes.py
/usr/lib/python3.10/site-packages/freetype/ft_enums/ft_lcd_filters.py
/usr/lib/python3.10/site-packages/freetype/ft_enums/ft_load_flags.py
/usr/lib/python3.10/site-packages/freetype/ft_enums/ft_load_targets.py
/usr/lib/python3.10/site-packages/freetype/ft_enums/ft_open_modes.py
/usr/lib/python3.10/site-packages/freetype/ft_enums/ft_outline_flags.py
/usr/lib/python3.10/site-packages/freetype/ft_enums/ft_pixel_modes.py
/usr/lib/python3.10/site-packages/freetype/ft_enums/ft_render_modes.py
/usr/lib/python3.10/site-packages/freetype/ft_enums/ft_stroker_borders.py
/usr/lib/python3.10/site-packages/freetype/ft_enums/ft_stroker_linecaps.py
/usr/lib/python3.10/site-packages/freetype/ft_enums/ft_stroker_linejoins.py
/usr/lib/python3.10/site-packages/freetype/ft_enums/ft_style_flags.py
/usr/lib/python3.10/site-packages/freetype/ft_enums/tt_adobe_ids.py
/usr/lib/python3.10/site-packages/freetype/ft_enums/tt_apple_ids.py
/usr/lib/python3.10/site-packages/freetype/ft_enums/tt_mac_ids.py
/usr/lib/python3.10/site-packages/freetype/ft_enums/tt_mac_langids.py
/usr/lib/python3.10/site-packages/freetype/ft_enums/tt_ms_ids.py
/usr/lib/python3.10/site-packages/freetype/ft_enums/tt_ms_langids.py
/usr/lib/python3.10/site-packages/freetype/ft_enums/tt_name_ids.py
/usr/lib/python3.10/site-packages/freetype/ft_enums/tt_platforms.py
/usr/lib/python3.10/site-packages/freetype/ft_errors.py
/usr/lib/python3.10/site-packages/freetype/ft_structs.py
/usr/lib/python3.10/site-packages/freetype/ft_types.py
/usr/lib/python3.10/site-packages/freetype/raw.py
/usr/lib/python3.10/site-packages/freetype_py-2.2.0-py3.10.egg-info
/usr/lib/python3.10/site-packages/freetype_py-2.2.0-py3.10.egg-info/PKG-INFO
/usr/lib/python3.10/site-packages/freetype_py-2.2.0-py3.10.egg-info/SOURCES.txt
/usr/lib/python3.10/site-packages/freetype_py-2.2.0-py3.10.egg-info/dependency_links.txt
/usr/lib/python3.10/site-packages/freetype_py-2.2.0-py3.10.egg-info/top_level.txt
/usr/lib/python3.10/site-packages/freetype_py-2.2.0-py3.10.egg-info/zip-safe
/usr/share/doc/python3-freetype
/usr/share/doc/python3-freetype/README.rst
/usr/share/doc/python3-freetype/examples
/usr/share/doc/python3-freetype/examples/SourceSansVariable-LICENSE.md
/usr/share/doc/python3-freetype/examples/SourceSansVariable-Roman.otf
/usr/share/doc/python3-freetype/examples/Vera.ttf
/usr/share/doc/python3-freetype/examples/VeraMono.ttf
/usr/share/doc/python3-freetype/examples/agg-trick.py
/usr/share/doc/python3-freetype/examples/ascii.py
/usr/share/doc/python3-freetype/examples/bitmap_to_surface.py
/usr/share/doc/python3-freetype/examples/emoji-color-cairo.py
/usr/share/doc/python3-freetype/examples/emoji-color.py
/usr/share/doc/python3-freetype/examples/example_1-cairo.py
/usr/share/doc/python3-freetype/examples/example_1.py
/usr/share/doc/python3-freetype/examples/font-info.py
/usr/share/doc/python3-freetype/examples/ftdump.py
/usr/share/doc/python3-freetype/examples/glyph-alpha.py
/usr/share/doc/python3-freetype/examples/glyph-color-cairo.py
/usr/share/doc/python3-freetype/examples/glyph-color.py
/usr/share/doc/python3-freetype/examples/glyph-lcd-cairo.py
/usr/share/doc/python3-freetype/examples/glyph-lcd.py
/usr/share/doc/python3-freetype/examples/glyph-metrics.py
/usr/share/doc/python3-freetype/examples/glyph-mono+alpha-cairo.py
/usr/share/doc/python3-freetype/examples/glyph-monochrome.py
/usr/share/doc/python3-freetype/examples/glyph-outline-cairo.py
/usr/share/doc/python3-freetype/examples/glyph-outline.py
/usr/share/doc/python3-freetype/examples/glyph-vector-2-cairo.py
/usr/share/doc/python3-freetype/examples/glyph-vector-2.py
/usr/share/doc/python3-freetype/examples/glyph-vector-cairo.py
/usr/share/doc/python3-freetype/examples/glyph-vector-decompose.py
/usr/share/doc/python3-freetype/examples/glyph-vector.py
/usr/share/doc/python3-freetype/examples/hello-vf.py
/usr/share/doc/python3-freetype/examples/hello-world-cairo.py
/usr/share/doc/python3-freetype/examples/hello-world.py
/usr/share/doc/python3-freetype/examples/opengl.py
/usr/share/doc/python3-freetype/examples/sfnt-names.py
/usr/share/doc/python3-freetype/examples/shader.py
/usr/share/doc/python3-freetype/examples/subpixel-positioning.py
/usr/share/doc/python3-freetype/examples/texture_font.py
/usr/share/doc/python3-freetype/examples/wordle-cairo.py
/usr/share/doc/python3-freetype/examples/wordle.py
/usr/share/licenses/python3-freetype
/usr/share/licenses/python3-freetype/LICENSE.txt

References

Summary

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