How To Install python3-basemap on Fedora 36

In this tutorial we learn how to install python3-basemap in Fedora 36. python3-basemap is Plots data on map projections (with continental and political boundaries)

Introduction

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

What is python3-basemap

Basemap is a matplotlib toolkit that allows you to plot data on map projections (with continental and political boundaries).

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

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

sudo dnf -y install python3-basemap

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

sudo yum -y install python3-basemap

How To Uninstall python3-basemap on Fedora 36

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

sudo dnf remove python3-basemap

python3-basemap Package Contents on Fedora 36

/usr/lib/.build-id
/usr/lib/.build-id/ff
/usr/lib/.build-id/ff/c81696b80cdddff415e05d6cb7fc4c0ba43c43
/usr/lib64/python3.10/site-packages/_geoslib.cpython-310-x86_64-linux-gnu.so
/usr/lib64/python3.10/site-packages/basemap-1.3.0-py3.10-nspkg.pth
/usr/lib64/python3.10/site-packages/basemap-1.3.0-py3.10.egg-info
/usr/lib64/python3.10/site-packages/basemap-1.3.0-py3.10.egg-info/PKG-INFO
/usr/lib64/python3.10/site-packages/basemap-1.3.0-py3.10.egg-info/SOURCES.txt
/usr/lib64/python3.10/site-packages/basemap-1.3.0-py3.10.egg-info/dependency_links.txt
/usr/lib64/python3.10/site-packages/basemap-1.3.0-py3.10.egg-info/namespace_packages.txt
/usr/lib64/python3.10/site-packages/basemap-1.3.0-py3.10.egg-info/requires.txt
/usr/lib64/python3.10/site-packages/basemap-1.3.0-py3.10.egg-info/top_level.txt
/usr/lib64/python3.10/site-packages/mpl_toolkits/basemap
/usr/lib64/python3.10/site-packages/mpl_toolkits/basemap/__init__.py
/usr/lib64/python3.10/site-packages/mpl_toolkits/basemap/__pycache__
/usr/lib64/python3.10/site-packages/mpl_toolkits/basemap/__pycache__/__init__.cpython-310.opt-1.pyc
/usr/lib64/python3.10/site-packages/mpl_toolkits/basemap/__pycache__/__init__.cpython-310.pyc
/usr/lib64/python3.10/site-packages/mpl_toolkits/basemap/__pycache__/cm.cpython-310.opt-1.pyc
/usr/lib64/python3.10/site-packages/mpl_toolkits/basemap/__pycache__/cm.cpython-310.pyc
/usr/lib64/python3.10/site-packages/mpl_toolkits/basemap/__pycache__/diagnostic.cpython-310.opt-1.pyc
/usr/lib64/python3.10/site-packages/mpl_toolkits/basemap/__pycache__/diagnostic.cpython-310.pyc
/usr/lib64/python3.10/site-packages/mpl_toolkits/basemap/__pycache__/proj.cpython-310.opt-1.pyc
/usr/lib64/python3.10/site-packages/mpl_toolkits/basemap/__pycache__/proj.cpython-310.pyc
/usr/lib64/python3.10/site-packages/mpl_toolkits/basemap/__pycache__/solar.cpython-310.opt-1.pyc
/usr/lib64/python3.10/site-packages/mpl_toolkits/basemap/__pycache__/solar.cpython-310.pyc
/usr/lib64/python3.10/site-packages/mpl_toolkits/basemap/__pycache__/test.cpython-310.opt-1.pyc
/usr/lib64/python3.10/site-packages/mpl_toolkits/basemap/__pycache__/test.cpython-310.pyc
/usr/lib64/python3.10/site-packages/mpl_toolkits/basemap/cm.py
/usr/lib64/python3.10/site-packages/mpl_toolkits/basemap/diagnostic.py
/usr/lib64/python3.10/site-packages/mpl_toolkits/basemap/proj.py
/usr/lib64/python3.10/site-packages/mpl_toolkits/basemap/solar.py
/usr/lib64/python3.10/site-packages/mpl_toolkits/basemap/test.py
/usr/lib64/python3.10/site-packages/mpl_toolkits/basemap_data
/usr/lib64/python3.10/site-packages/mpl_toolkits/basemap_data/UScounties.dbf
/usr/lib64/python3.10/site-packages/mpl_toolkits/basemap_data/UScounties.prj
/usr/lib64/python3.10/site-packages/mpl_toolkits/basemap_data/UScounties.shp
/usr/lib64/python3.10/site-packages/mpl_toolkits/basemap_data/UScounties.shx
/usr/lib64/python3.10/site-packages/mpl_toolkits/basemap_data/__init__.py
/usr/lib64/python3.10/site-packages/mpl_toolkits/basemap_data/__pycache__
/usr/lib64/python3.10/site-packages/mpl_toolkits/basemap_data/__pycache__/__init__.cpython-310.opt-1.pyc
/usr/lib64/python3.10/site-packages/mpl_toolkits/basemap_data/__pycache__/__init__.cpython-310.pyc
/usr/lib64/python3.10/site-packages/mpl_toolkits/basemap_data/bmng.jpg
/usr/lib64/python3.10/site-packages/mpl_toolkits/basemap_data/countries_c.dat
/usr/lib64/python3.10/site-packages/mpl_toolkits/basemap_data/countries_f.dat
/usr/lib64/python3.10/site-packages/mpl_toolkits/basemap_data/countries_h.dat
/usr/lib64/python3.10/site-packages/mpl_toolkits/basemap_data/countries_i.dat
/usr/lib64/python3.10/site-packages/mpl_toolkits/basemap_data/countries_l.dat
/usr/lib64/python3.10/site-packages/mpl_toolkits/basemap_data/countriesmeta_c.dat
/usr/lib64/python3.10/site-packages/mpl_toolkits/basemap_data/countriesmeta_f.dat
/usr/lib64/python3.10/site-packages/mpl_toolkits/basemap_data/countriesmeta_h.dat
/usr/lib64/python3.10/site-packages/mpl_toolkits/basemap_data/countriesmeta_i.dat
/usr/lib64/python3.10/site-packages/mpl_toolkits/basemap_data/countriesmeta_l.dat
/usr/lib64/python3.10/site-packages/mpl_toolkits/basemap_data/epsg
/usr/lib64/python3.10/site-packages/mpl_toolkits/basemap_data/etopo1.jpg
/usr/lib64/python3.10/site-packages/mpl_toolkits/basemap_data/gshhs_c.dat
/usr/lib64/python3.10/site-packages/mpl_toolkits/basemap_data/gshhs_f.dat
/usr/lib64/python3.10/site-packages/mpl_toolkits/basemap_data/gshhs_h.dat
/usr/lib64/python3.10/site-packages/mpl_toolkits/basemap_data/gshhs_i.dat
/usr/lib64/python3.10/site-packages/mpl_toolkits/basemap_data/gshhs_l.dat
/usr/lib64/python3.10/site-packages/mpl_toolkits/basemap_data/gshhsmeta_c.dat
/usr/lib64/python3.10/site-packages/mpl_toolkits/basemap_data/gshhsmeta_f.dat
/usr/lib64/python3.10/site-packages/mpl_toolkits/basemap_data/gshhsmeta_h.dat
/usr/lib64/python3.10/site-packages/mpl_toolkits/basemap_data/gshhsmeta_i.dat
/usr/lib64/python3.10/site-packages/mpl_toolkits/basemap_data/gshhsmeta_l.dat
/usr/lib64/python3.10/site-packages/mpl_toolkits/basemap_data/lsmask_1.25min_c.bin
/usr/lib64/python3.10/site-packages/mpl_toolkits/basemap_data/lsmask_1.25min_f.bin
/usr/lib64/python3.10/site-packages/mpl_toolkits/basemap_data/lsmask_1.25min_h.bin
/usr/lib64/python3.10/site-packages/mpl_toolkits/basemap_data/lsmask_1.25min_i.bin
/usr/lib64/python3.10/site-packages/mpl_toolkits/basemap_data/lsmask_1.25min_l.bin
/usr/lib64/python3.10/site-packages/mpl_toolkits/basemap_data/lsmask_10min_c.bin
/usr/lib64/python3.10/site-packages/mpl_toolkits/basemap_data/lsmask_10min_f.bin
/usr/lib64/python3.10/site-packages/mpl_toolkits/basemap_data/lsmask_10min_h.bin
/usr/lib64/python3.10/site-packages/mpl_toolkits/basemap_data/lsmask_10min_i.bin
/usr/lib64/python3.10/site-packages/mpl_toolkits/basemap_data/lsmask_10min_l.bin
/usr/lib64/python3.10/site-packages/mpl_toolkits/basemap_data/lsmask_2.5min_c.bin
/usr/lib64/python3.10/site-packages/mpl_toolkits/basemap_data/lsmask_2.5min_f.bin
/usr/lib64/python3.10/site-packages/mpl_toolkits/basemap_data/lsmask_2.5min_h.bin
/usr/lib64/python3.10/site-packages/mpl_toolkits/basemap_data/lsmask_2.5min_i.bin
/usr/lib64/python3.10/site-packages/mpl_toolkits/basemap_data/lsmask_2.5min_l.bin
/usr/lib64/python3.10/site-packages/mpl_toolkits/basemap_data/lsmask_5min_c.bin
/usr/lib64/python3.10/site-packages/mpl_toolkits/basemap_data/lsmask_5min_f.bin
/usr/lib64/python3.10/site-packages/mpl_toolkits/basemap_data/lsmask_5min_h.bin
/usr/lib64/python3.10/site-packages/mpl_toolkits/basemap_data/lsmask_5min_i.bin
/usr/lib64/python3.10/site-packages/mpl_toolkits/basemap_data/lsmask_5min_l.bin
/usr/lib64/python3.10/site-packages/mpl_toolkits/basemap_data/rivers_c.dat
/usr/lib64/python3.10/site-packages/mpl_toolkits/basemap_data/rivers_f.dat
/usr/lib64/python3.10/site-packages/mpl_toolkits/basemap_data/rivers_h.dat
/usr/lib64/python3.10/site-packages/mpl_toolkits/basemap_data/rivers_i.dat
/usr/lib64/python3.10/site-packages/mpl_toolkits/basemap_data/rivers_l.dat
/usr/lib64/python3.10/site-packages/mpl_toolkits/basemap_data/riversmeta_c.dat
/usr/lib64/python3.10/site-packages/mpl_toolkits/basemap_data/riversmeta_f.dat
/usr/lib64/python3.10/site-packages/mpl_toolkits/basemap_data/riversmeta_h.dat
/usr/lib64/python3.10/site-packages/mpl_toolkits/basemap_data/riversmeta_i.dat
/usr/lib64/python3.10/site-packages/mpl_toolkits/basemap_data/riversmeta_l.dat
/usr/lib64/python3.10/site-packages/mpl_toolkits/basemap_data/shadedrelief.jpg
/usr/lib64/python3.10/site-packages/mpl_toolkits/basemap_data/states_c.dat
/usr/lib64/python3.10/site-packages/mpl_toolkits/basemap_data/states_f.dat
/usr/lib64/python3.10/site-packages/mpl_toolkits/basemap_data/states_h.dat
/usr/lib64/python3.10/site-packages/mpl_toolkits/basemap_data/states_i.dat
/usr/lib64/python3.10/site-packages/mpl_toolkits/basemap_data/states_l.dat
/usr/lib64/python3.10/site-packages/mpl_toolkits/basemap_data/statesmeta_c.dat
/usr/lib64/python3.10/site-packages/mpl_toolkits/basemap_data/statesmeta_f.dat
/usr/lib64/python3.10/site-packages/mpl_toolkits/basemap_data/statesmeta_h.dat
/usr/lib64/python3.10/site-packages/mpl_toolkits/basemap_data/statesmeta_i.dat
/usr/lib64/python3.10/site-packages/mpl_toolkits/basemap_data/statesmeta_l.dat
/usr/share/doc/python3-basemap
/usr/share/doc/python3-basemap/README.md
/usr/share/licenses/python3-basemap
/usr/share/licenses/python3-basemap/LICENSE_data
/usr/share/licenses/python3-basemap/LICENSE_epsg

References

Summary

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