How To Install python3-babelfish on Fedora 36

In this tutorial we learn how to install python3-babelfish in Fedora 36. python3-babelfish is Python library to work with countries and languages

Introduction

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

What is python3-babelfish

Babelfish makes it easy to work with countries, languages, scripts, ISO codes and IETF codes from Python. It has converters between all different data can be extended to use custom converters and data.

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

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

sudo dnf -y install python3-babelfish

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

sudo yum -y install python3-babelfish

How To Uninstall python3-babelfish on Fedora 36

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

sudo dnf remove python3-babelfish

python3-babelfish Package Contents on Fedora 36

/usr/lib/python3.10/site-packages/babelfish
/usr/lib/python3.10/site-packages/babelfish-0.6.0-py3.10.egg-info
/usr/lib/python3.10/site-packages/babelfish-0.6.0-py3.10.egg-info/PKG-INFO
/usr/lib/python3.10/site-packages/babelfish-0.6.0-py3.10.egg-info/SOURCES.txt
/usr/lib/python3.10/site-packages/babelfish-0.6.0-py3.10.egg-info/dependency_links.txt
/usr/lib/python3.10/site-packages/babelfish-0.6.0-py3.10.egg-info/top_level.txt
/usr/lib/python3.10/site-packages/babelfish/__init__.py
/usr/lib/python3.10/site-packages/babelfish/__pycache__
/usr/lib/python3.10/site-packages/babelfish/__pycache__/__init__.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/babelfish/__pycache__/__init__.cpython-310.pyc
/usr/lib/python3.10/site-packages/babelfish/__pycache__/country.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/babelfish/__pycache__/country.cpython-310.pyc
/usr/lib/python3.10/site-packages/babelfish/__pycache__/exceptions.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/babelfish/__pycache__/exceptions.cpython-310.pyc
/usr/lib/python3.10/site-packages/babelfish/__pycache__/language.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/babelfish/__pycache__/language.cpython-310.pyc
/usr/lib/python3.10/site-packages/babelfish/__pycache__/script.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/babelfish/__pycache__/script.cpython-310.pyc
/usr/lib/python3.10/site-packages/babelfish/converters
/usr/lib/python3.10/site-packages/babelfish/converters/__init__.py
/usr/lib/python3.10/site-packages/babelfish/converters/__pycache__
/usr/lib/python3.10/site-packages/babelfish/converters/__pycache__/__init__.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/babelfish/converters/__pycache__/__init__.cpython-310.pyc
/usr/lib/python3.10/site-packages/babelfish/converters/__pycache__/alpha2.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/babelfish/converters/__pycache__/alpha2.cpython-310.pyc
/usr/lib/python3.10/site-packages/babelfish/converters/__pycache__/alpha3b.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/babelfish/converters/__pycache__/alpha3b.cpython-310.pyc
/usr/lib/python3.10/site-packages/babelfish/converters/__pycache__/alpha3t.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/babelfish/converters/__pycache__/alpha3t.cpython-310.pyc
/usr/lib/python3.10/site-packages/babelfish/converters/__pycache__/countryname.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/babelfish/converters/__pycache__/countryname.cpython-310.pyc
/usr/lib/python3.10/site-packages/babelfish/converters/__pycache__/name.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/babelfish/converters/__pycache__/name.cpython-310.pyc
/usr/lib/python3.10/site-packages/babelfish/converters/__pycache__/opensubtitles.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/babelfish/converters/__pycache__/opensubtitles.cpython-310.pyc
/usr/lib/python3.10/site-packages/babelfish/converters/__pycache__/scope.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/babelfish/converters/__pycache__/scope.cpython-310.pyc
/usr/lib/python3.10/site-packages/babelfish/converters/__pycache__/type.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/babelfish/converters/__pycache__/type.cpython-310.pyc
/usr/lib/python3.10/site-packages/babelfish/converters/alpha2.py
/usr/lib/python3.10/site-packages/babelfish/converters/alpha3b.py
/usr/lib/python3.10/site-packages/babelfish/converters/alpha3t.py
/usr/lib/python3.10/site-packages/babelfish/converters/countryname.py
/usr/lib/python3.10/site-packages/babelfish/converters/name.py
/usr/lib/python3.10/site-packages/babelfish/converters/opensubtitles.py
/usr/lib/python3.10/site-packages/babelfish/converters/scope.py
/usr/lib/python3.10/site-packages/babelfish/converters/type.py
/usr/lib/python3.10/site-packages/babelfish/country.py
/usr/lib/python3.10/site-packages/babelfish/data
/usr/lib/python3.10/site-packages/babelfish/data/iso-3166-1.txt
/usr/lib/python3.10/site-packages/babelfish/data/iso-639-3.tab
/usr/lib/python3.10/site-packages/babelfish/data/iso15924-utf8-20131012.txt
/usr/lib/python3.10/site-packages/babelfish/data/opensubtitles_languages.txt
/usr/lib/python3.10/site-packages/babelfish/exceptions.py
/usr/lib/python3.10/site-packages/babelfish/language.py
/usr/lib/python3.10/site-packages/babelfish/script.py
/usr/share/doc/python3-babelfish
/usr/share/doc/python3-babelfish/README.md
/usr/share/licenses/python3-babelfish
/usr/share/licenses/python3-babelfish/LICENSE

References

Summary

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