How To Install python3-pycountry on Fedora 36
Introduction
In this tutorial we learn how to install python3-pycountry
on Fedora 36.
What is python3-pycountry
pycountry provides the ISO databases for the standards * 639-3 Languages * 3166 Countries * 3166-3 Deleted countries * 3166-2 Subdivisions of countries * 4217 Currencies * 15924 Scripts
We can use yum
or dnf
to install python3-pycountry
on Fedora 36. In this tutorial we discuss both methods but you only need to choose one of method to install python3-pycountry.
Install python3-pycountry 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-pycountry
using dnf
by running the following command:
sudo dnf -y install python3-pycountry
Install python3-pycountry 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-pycountry
using yum
by running the following command:
sudo yum -y install python3-pycountry
How To Uninstall python3-pycountry on Fedora 36
To uninstall only the python3-pycountry
package we can use the following command:
sudo dnf remove python3-pycountry
python3-pycountry Package Contents on Fedora 36
/usr/lib/python3.10/site-packages/pycountry
/usr/lib/python3.10/site-packages/pycountry-22.3.5.dist-info
/usr/lib/python3.10/site-packages/pycountry-22.3.5.dist-info/INSTALLER
/usr/lib/python3.10/site-packages/pycountry-22.3.5.dist-info/LICENSE.txt
/usr/lib/python3.10/site-packages/pycountry-22.3.5.dist-info/METADATA
/usr/lib/python3.10/site-packages/pycountry-22.3.5.dist-info/WHEEL
/usr/lib/python3.10/site-packages/pycountry-22.3.5.dist-info/top_level.txt
/usr/lib/python3.10/site-packages/pycountry/__init__.py
/usr/lib/python3.10/site-packages/pycountry/__pycache__
/usr/lib/python3.10/site-packages/pycountry/__pycache__/__init__.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/pycountry/__pycache__/__init__.cpython-310.pyc
/usr/lib/python3.10/site-packages/pycountry/__pycache__/db.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/pycountry/__pycache__/db.cpython-310.pyc
/usr/lib/python3.10/site-packages/pycountry/db.py
/usr/lib/python3.10/site-packages/pycountry/tests
/usr/lib/python3.10/site-packages/pycountry/tests/__pycache__
/usr/lib/python3.10/site-packages/pycountry/tests/__pycache__/test_general.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/pycountry/tests/__pycache__/test_general.cpython-310.pyc
/usr/lib/python3.10/site-packages/pycountry/tests/test_general.py
/usr/share/doc/python3-pycountry
/usr/share/doc/python3-pycountry/HISTORY.txt
/usr/share/doc/python3-pycountry/README.rst
/usr/share/licenses/python3-pycountry
/usr/share/licenses/python3-pycountry/LICENSE.txt
References
Summary
In this tutorial we learn how to install python3-pycountry
on Fedora 36 using yum and [dnf]((/fedora/36/dnf/).