How To Install python3-pyphen on Fedora 36

In this tutorial we learn how to install python3-pyphen in Fedora 36. python3-pyphen is Pure Python module to hyphenate text

Introduction

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

What is python3-pyphen

Pyphen is a pure Python module to hyphenate text using existing hyphenation dictionaries, e.g., from Libreoffice language packs.

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

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

sudo dnf -y install python3-pyphen

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

sudo yum -y install python3-pyphen

How To Uninstall python3-pyphen on Fedora 36

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

sudo dnf remove python3-pyphen

python3-pyphen Package Contents on Fedora 36

/usr/lib/python3.10/site-packages/pyphen
/usr/lib/python3.10/site-packages/pyphen-0.12.0.dist-info
/usr/lib/python3.10/site-packages/pyphen-0.12.0.dist-info/COPYING.GPL
/usr/lib/python3.10/site-packages/pyphen-0.12.0.dist-info/COPYING.LGPL
/usr/lib/python3.10/site-packages/pyphen-0.12.0.dist-info/COPYING.MPL
/usr/lib/python3.10/site-packages/pyphen-0.12.0.dist-info/INSTALLER
/usr/lib/python3.10/site-packages/pyphen-0.12.0.dist-info/LICENSE
/usr/lib/python3.10/site-packages/pyphen-0.12.0.dist-info/METADATA
/usr/lib/python3.10/site-packages/pyphen-0.12.0.dist-info/WHEEL
/usr/lib/python3.10/site-packages/pyphen/__init__.py
/usr/lib/python3.10/site-packages/pyphen/__pycache__
/usr/lib/python3.10/site-packages/pyphen/__pycache__/__init__.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/pyphen/__pycache__/__init__.cpython-310.pyc
/usr/lib/python3.10/site-packages/pyphen/dictionaries
/usr/lib/python3.10/site-packages/pyphen/dictionaries/hyph_af_ZA.dic
/usr/lib/python3.10/site-packages/pyphen/dictionaries/hyph_be_BY.dic
/usr/lib/python3.10/site-packages/pyphen/dictionaries/hyph_bg_BG.dic
/usr/lib/python3.10/site-packages/pyphen/dictionaries/hyph_cs_CZ.dic
/usr/lib/python3.10/site-packages/pyphen/dictionaries/hyph_da_DK.dic
/usr/lib/python3.10/site-packages/pyphen/dictionaries/hyph_de_AT.dic
/usr/lib/python3.10/site-packages/pyphen/dictionaries/hyph_de_CH.dic
/usr/lib/python3.10/site-packages/pyphen/dictionaries/hyph_de_DE.dic
/usr/lib/python3.10/site-packages/pyphen/dictionaries/hyph_el_GR.dic
/usr/lib/python3.10/site-packages/pyphen/dictionaries/hyph_en_GB.dic
/usr/lib/python3.10/site-packages/pyphen/dictionaries/hyph_en_US.dic
/usr/lib/python3.10/site-packages/pyphen/dictionaries/hyph_eo.dic
/usr/lib/python3.10/site-packages/pyphen/dictionaries/hyph_es.dic
/usr/lib/python3.10/site-packages/pyphen/dictionaries/hyph_et_EE.dic
/usr/lib/python3.10/site-packages/pyphen/dictionaries/hyph_fr.dic
/usr/lib/python3.10/site-packages/pyphen/dictionaries/hyph_gl.dic
/usr/lib/python3.10/site-packages/pyphen/dictionaries/hyph_hr_HR.dic
/usr/lib/python3.10/site-packages/pyphen/dictionaries/hyph_hu_HU.dic
/usr/lib/python3.10/site-packages/pyphen/dictionaries/hyph_id_ID.dic
/usr/lib/python3.10/site-packages/pyphen/dictionaries/hyph_is.dic
/usr/lib/python3.10/site-packages/pyphen/dictionaries/hyph_it_IT.dic
/usr/lib/python3.10/site-packages/pyphen/dictionaries/hyph_lt.dic
/usr/lib/python3.10/site-packages/pyphen/dictionaries/hyph_lv_LV.dic
/usr/lib/python3.10/site-packages/pyphen/dictionaries/hyph_mn_MN.dic
/usr/lib/python3.10/site-packages/pyphen/dictionaries/hyph_nb_NO.dic
/usr/lib/python3.10/site-packages/pyphen/dictionaries/hyph_nl_NL.dic
/usr/lib/python3.10/site-packages/pyphen/dictionaries/hyph_nn_NO.dic
/usr/lib/python3.10/site-packages/pyphen/dictionaries/hyph_pl_PL.dic
/usr/lib/python3.10/site-packages/pyphen/dictionaries/hyph_pt_BR.dic
/usr/lib/python3.10/site-packages/pyphen/dictionaries/hyph_pt_PT.dic
/usr/lib/python3.10/site-packages/pyphen/dictionaries/hyph_ro_RO.dic
/usr/lib/python3.10/site-packages/pyphen/dictionaries/hyph_ru_RU.dic
/usr/lib/python3.10/site-packages/pyphen/dictionaries/hyph_sk_SK.dic
/usr/lib/python3.10/site-packages/pyphen/dictionaries/hyph_sl_SI.dic
/usr/lib/python3.10/site-packages/pyphen/dictionaries/hyph_sq_AL.dic
/usr/lib/python3.10/site-packages/pyphen/dictionaries/hyph_sr.dic
/usr/lib/python3.10/site-packages/pyphen/dictionaries/hyph_sr_Latn.dic
/usr/lib/python3.10/site-packages/pyphen/dictionaries/hyph_sv.dic
/usr/lib/python3.10/site-packages/pyphen/dictionaries/hyph_te_IN.dic
/usr/lib/python3.10/site-packages/pyphen/dictionaries/hyph_uk_UA.dic
/usr/lib/python3.10/site-packages/pyphen/dictionaries/hyph_zu_ZA.dic
/usr/lib/python3.10/site-packages/pyphen/dictionaries/update.sh
/usr/share/doc/python3-pyphen
/usr/share/doc/python3-pyphen/README.rst
/usr/share/licenses/python3-pyphen
/usr/share/licenses/python3-pyphen/COPYING.GPL
/usr/share/licenses/python3-pyphen/COPYING.LGPL
/usr/share/licenses/python3-pyphen/COPYING.MPL
/usr/share/licenses/python3-pyphen/LICENSE

References

Summary

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