How To Install python3-pyproj on Rocky Linux 8

In this tutorial we learn how to install python3-pyproj on Rocky Linux 8. python3-pyproj is Cython wrapper to provide python interfaces to Proj

Introduction

In this tutorial we learn how to install python3-pyproj on Rocky Linux 8.

What is python3-pyproj

Cython wrapper to provide python interfaces to Proj. Performs cartographic transformations between geographic (Lat/Lon) and map projection (x/y) coordinates. Can also transform directly from one map projection coordinate system to another. Coordinates can be given as numpy arrays, python arrays, lists or scalars. Optimized for numpy arrays.

We can use yum or dnf to install python3-pyproj on Rocky Linux 8. In this tutorial we discuss both methods but you only need to choose one of method to install python3-pyproj.

Install python3-pyproj on Rocky Linux 8 Using dnf

Update yum database with dnf using the following command.

sudo dnf makecache --refresh

After updating yum database, We can install python3-pyproj using dnf by running the following command:

sudo dnf -y install python3-pyproj

Install python3-pyproj on Rocky Linux 8 Using yum

Update yum database with yum using the following command.

sudo yum makecache --refresh

After updating yum database, We can install python3-pyproj using yum by running the following command:

sudo yum -y install python3-pyproj

How To Uninstall python3-pyproj on Rocky Linux 8

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

sudo dnf remove python3-pyproj

python3-pyproj Package Contents on Rocky Linux 8

/usr/lib/.build-id
/usr/lib/.build-id/55
/usr/lib/.build-id/55/15242f53a69e5d7ac6af94ad93d2ebed7e174b
/usr/lib/.build-id/5a
/usr/lib/.build-id/5a/4bb2e3ad0ba715523bcc3e3ce22891c66d83a8
/usr/lib/.build-id/84
/usr/lib/.build-id/84/25c3210ab4c459168c1e17653bd2e6c9e0a48e
/usr/lib/.build-id/84/eec730644b3d25269eb49853f8f4b30e0b0eb3
/usr/lib/.build-id/9f
/usr/lib/.build-id/9f/16af0467155ced8435b68a18e3a98f652b230a
/usr/lib/.build-id/ad
/usr/lib/.build-id/ad/0a151129fc1edbacea57848c9dd23fe36fba3b
/usr/lib64/python3.6/site-packages/pyproj
/usr/lib64/python3.6/site-packages/pyproj-2.2.1-py3.6.egg-info
/usr/lib64/python3.6/site-packages/pyproj-2.2.1-py3.6.egg-info/PKG-INFO
/usr/lib64/python3.6/site-packages/pyproj-2.2.1-py3.6.egg-info/SOURCES.txt
/usr/lib64/python3.6/site-packages/pyproj-2.2.1-py3.6.egg-info/dependency_links.txt
/usr/lib64/python3.6/site-packages/pyproj-2.2.1-py3.6.egg-info/requires.txt
/usr/lib64/python3.6/site-packages/pyproj-2.2.1-py3.6.egg-info/top_level.txt
/usr/lib64/python3.6/site-packages/pyproj/__init__.py
/usr/lib64/python3.6/site-packages/pyproj/__pycache__
/usr/lib64/python3.6/site-packages/pyproj/__pycache__/__init__.cpython-36.opt-1.pyc
/usr/lib64/python3.6/site-packages/pyproj/__pycache__/__init__.cpython-36.pyc
/usr/lib64/python3.6/site-packages/pyproj/__pycache__/_show_versions.cpython-36.opt-1.pyc
/usr/lib64/python3.6/site-packages/pyproj/__pycache__/_show_versions.cpython-36.pyc
/usr/lib64/python3.6/site-packages/pyproj/__pycache__/cf1x8.cpython-36.opt-1.pyc
/usr/lib64/python3.6/site-packages/pyproj/__pycache__/cf1x8.cpython-36.pyc
/usr/lib64/python3.6/site-packages/pyproj/__pycache__/compat.cpython-36.opt-1.pyc
/usr/lib64/python3.6/site-packages/pyproj/__pycache__/compat.cpython-36.pyc
/usr/lib64/python3.6/site-packages/pyproj/__pycache__/crs.cpython-36.opt-1.pyc
/usr/lib64/python3.6/site-packages/pyproj/__pycache__/crs.cpython-36.pyc
/usr/lib64/python3.6/site-packages/pyproj/__pycache__/datadir.cpython-36.opt-1.pyc
/usr/lib64/python3.6/site-packages/pyproj/__pycache__/datadir.cpython-36.pyc
/usr/lib64/python3.6/site-packages/pyproj/__pycache__/enums.cpython-36.opt-1.pyc
/usr/lib64/python3.6/site-packages/pyproj/__pycache__/enums.cpython-36.pyc
/usr/lib64/python3.6/site-packages/pyproj/__pycache__/exceptions.cpython-36.opt-1.pyc
/usr/lib64/python3.6/site-packages/pyproj/__pycache__/exceptions.cpython-36.pyc
/usr/lib64/python3.6/site-packages/pyproj/__pycache__/geod.cpython-36.opt-1.pyc
/usr/lib64/python3.6/site-packages/pyproj/__pycache__/geod.cpython-36.pyc
/usr/lib64/python3.6/site-packages/pyproj/__pycache__/proj.cpython-36.opt-1.pyc
/usr/lib64/python3.6/site-packages/pyproj/__pycache__/proj.cpython-36.pyc
/usr/lib64/python3.6/site-packages/pyproj/__pycache__/transformer.cpython-36.opt-1.pyc
/usr/lib64/python3.6/site-packages/pyproj/__pycache__/transformer.cpython-36.pyc
/usr/lib64/python3.6/site-packages/pyproj/__pycache__/utils.cpython-36.opt-1.pyc
/usr/lib64/python3.6/site-packages/pyproj/__pycache__/utils.cpython-36.pyc
/usr/lib64/python3.6/site-packages/pyproj/_crs.cpython-36m-x86_64-linux-gnu.so
/usr/lib64/python3.6/site-packages/pyproj/_datadir.cpython-36m-x86_64-linux-gnu.so
/usr/lib64/python3.6/site-packages/pyproj/_geod.cpython-36m-x86_64-linux-gnu.so
/usr/lib64/python3.6/site-packages/pyproj/_list.cpython-36m-x86_64-linux-gnu.so
/usr/lib64/python3.6/site-packages/pyproj/_proj.cpython-36m-x86_64-linux-gnu.so
/usr/lib64/python3.6/site-packages/pyproj/_show_versions.py
/usr/lib64/python3.6/site-packages/pyproj/_transformer.cpython-36m-x86_64-linux-gnu.so
/usr/lib64/python3.6/site-packages/pyproj/cf1x8.py
/usr/lib64/python3.6/site-packages/pyproj/compat.py
/usr/lib64/python3.6/site-packages/pyproj/crs.py
/usr/lib64/python3.6/site-packages/pyproj/datadir.py
/usr/lib64/python3.6/site-packages/pyproj/enums.py
/usr/lib64/python3.6/site-packages/pyproj/exceptions.py
/usr/lib64/python3.6/site-packages/pyproj/geod.py
/usr/lib64/python3.6/site-packages/pyproj/proj.py
/usr/lib64/python3.6/site-packages/pyproj/transformer.py
/usr/lib64/python3.6/site-packages/pyproj/utils.py
/usr/share/doc/python3-pyproj
/usr/share/doc/python3-pyproj/README.md
/usr/share/doc/python3-pyproj/docs
/usr/share/doc/python3-pyproj/docs/Makefile
/usr/share/doc/python3-pyproj/docs/_build
/usr/share/doc/python3-pyproj/docs/_build/doctrees
/usr/share/doc/python3-pyproj/docs/_build/doctrees/api
/usr/share/doc/python3-pyproj/docs/_build/doctrees/api/crs.doctree
/usr/share/doc/python3-pyproj/docs/_build/doctrees/api/datadir.doctree
/usr/share/doc/python3-pyproj/docs/_build/doctrees/api/enums.doctree
/usr/share/doc/python3-pyproj/docs/_build/doctrees/api/exceptions.doctree
/usr/share/doc/python3-pyproj/docs/_build/doctrees/api/geod.doctree
/usr/share/doc/python3-pyproj/docs/_build/doctrees/api/index.doctree
/usr/share/doc/python3-pyproj/docs/_build/doctrees/api/list.doctree
/usr/share/doc/python3-pyproj/docs/_build/doctrees/api/proj.doctree
/usr/share/doc/python3-pyproj/docs/_build/doctrees/api/show_versions.doctree
/usr/share/doc/python3-pyproj/docs/_build/doctrees/api/transformer.doctree
/usr/share/doc/python3-pyproj/docs/_build/doctrees/environment.pickle
/usr/share/doc/python3-pyproj/docs/_build/doctrees/examples.doctree
/usr/share/doc/python3-pyproj/docs/_build/doctrees/gotchas.doctree
/usr/share/doc/python3-pyproj/docs/_build/doctrees/history.doctree
/usr/share/doc/python3-pyproj/docs/_build/doctrees/index.doctree
/usr/share/doc/python3-pyproj/docs/_build/doctrees/installation.doctree
/usr/share/doc/python3-pyproj/docs/_build/doctrees/optimize_transformations.doctree
/usr/share/doc/python3-pyproj/docs/_build/html
/usr/share/doc/python3-pyproj/docs/_build/html/_modules
/usr/share/doc/python3-pyproj/docs/_build/html/_modules/index.html
/usr/share/doc/python3-pyproj/docs/_build/html/_modules/pyproj
/usr/share/doc/python3-pyproj/docs/_build/html/_modules/pyproj/_show_versions.html
/usr/share/doc/python3-pyproj/docs/_build/html/_modules/pyproj/crs.html
/usr/share/doc/python3-pyproj/docs/_build/html/_modules/pyproj/datadir.html
/usr/share/doc/python3-pyproj/docs/_build/html/_modules/pyproj/enums.html
/usr/share/doc/python3-pyproj/docs/_build/html/_modules/pyproj/exceptions.html
/usr/share/doc/python3-pyproj/docs/_build/html/_modules/pyproj/geod.html
/usr/share/doc/python3-pyproj/docs/_build/html/_modules/pyproj/proj.html
/usr/share/doc/python3-pyproj/docs/_build/html/_modules/pyproj/transformer.html
/usr/share/doc/python3-pyproj/docs/_build/html/_sources
/usr/share/doc/python3-pyproj/docs/_build/html/_sources/api
/usr/share/doc/python3-pyproj/docs/_build/html/_sources/api/crs.rst.txt
/usr/share/doc/python3-pyproj/docs/_build/html/_sources/api/datadir.rst.txt
/usr/share/doc/python3-pyproj/docs/_build/html/_sources/api/enums.rst.txt
/usr/share/doc/python3-pyproj/docs/_build/html/_sources/api/exceptions.rst.txt
/usr/share/doc/python3-pyproj/docs/_build/html/_sources/api/geod.rst.txt
/usr/share/doc/python3-pyproj/docs/_build/html/_sources/api/index.rst.txt
/usr/share/doc/python3-pyproj/docs/_build/html/_sources/api/list.rst.txt
/usr/share/doc/python3-pyproj/docs/_build/html/_sources/api/proj.rst.txt
/usr/share/doc/python3-pyproj/docs/_build/html/_sources/api/show_versions.rst.txt
/usr/share/doc/python3-pyproj/docs/_build/html/_sources/api/transformer.rst.txt
/usr/share/doc/python3-pyproj/docs/_build/html/_sources/examples.rst.txt
/usr/share/doc/python3-pyproj/docs/_build/html/_sources/gotchas.rst.txt
/usr/share/doc/python3-pyproj/docs/_build/html/_sources/history.rst.txt
/usr/share/doc/python3-pyproj/docs/_build/html/_sources/index.rst.txt
/usr/share/doc/python3-pyproj/docs/_build/html/_sources/installation.rst.txt
/usr/share/doc/python3-pyproj/docs/_build/html/_sources/optimize_transformations.rst.txt
/usr/share/doc/python3-pyproj/docs/_build/html/_static
/usr/share/doc/python3-pyproj/docs/_build/html/_static/ajax-loader.gif
/usr/share/doc/python3-pyproj/docs/_build/html/_static/basic.css
/usr/share/doc/python3-pyproj/docs/_build/html/_static/comment-bright.png
/usr/share/doc/python3-pyproj/docs/_build/html/_static/comment-close.png
/usr/share/doc/python3-pyproj/docs/_build/html/_static/comment.png
/usr/share/doc/python3-pyproj/docs/_build/html/_static/css
/usr/share/doc/python3-pyproj/docs/_build/html/_static/css/badge_only.css
/usr/share/doc/python3-pyproj/docs/_build/html/_static/css/theme.css
/usr/share/doc/python3-pyproj/docs/_build/html/_static/doctools.js
/usr/share/doc/python3-pyproj/docs/_build/html/_static/documentation_options.js
/usr/share/doc/python3-pyproj/docs/_build/html/_static/down-pressed.png
/usr/share/doc/python3-pyproj/docs/_build/html/_static/down.png
/usr/share/doc/python3-pyproj/docs/_build/html/_static/file.png
/usr/share/doc/python3-pyproj/docs/_build/html/_static/fonts
/usr/share/doc/python3-pyproj/docs/_build/html/_static/fonts/Inconsolata-Bold.ttf
/usr/share/doc/python3-pyproj/docs/_build/html/_static/fonts/Inconsolata-Regular.ttf
/usr/share/doc/python3-pyproj/docs/_build/html/_static/fonts/Lato-Bold.ttf
/usr/share/doc/python3-pyproj/docs/_build/html/_static/fonts/Lato-BoldItalic.ttf
/usr/share/doc/python3-pyproj/docs/_build/html/_static/fonts/Lato-Italic.ttf
/usr/share/doc/python3-pyproj/docs/_build/html/_static/fonts/Lato-Regular.ttf
/usr/share/doc/python3-pyproj/docs/_build/html/_static/fonts/RobotoSlab-Bold.ttf
/usr/share/doc/python3-pyproj/docs/_build/html/_static/fonts/RobotoSlab-Regular.ttf
/usr/share/doc/python3-pyproj/docs/_build/html/_static/fonts/fontawesome-webfont.eot
/usr/share/doc/python3-pyproj/docs/_build/html/_static/fonts/fontawesome-webfont.svg
/usr/share/doc/python3-pyproj/docs/_build/html/_static/fonts/fontawesome-webfont.ttf
/usr/share/doc/python3-pyproj/docs/_build/html/_static/fonts/fontawesome-webfont.woff
/usr/share/doc/python3-pyproj/docs/_build/html/_static/fonts/fontawesome-webfont.woff2
/usr/share/doc/python3-pyproj/docs/_build/html/_static/jquery-3.2.1.js
/usr/share/doc/python3-pyproj/docs/_build/html/_static/jquery.js
/usr/share/doc/python3-pyproj/docs/_build/html/_static/js
/usr/share/doc/python3-pyproj/docs/_build/html/_static/js/modernizr.min.js
/usr/share/doc/python3-pyproj/docs/_build/html/_static/js/theme.js
/usr/share/doc/python3-pyproj/docs/_build/html/_static/minus.png
/usr/share/doc/python3-pyproj/docs/_build/html/_static/plus.png
/usr/share/doc/python3-pyproj/docs/_build/html/_static/pygments.css
/usr/share/doc/python3-pyproj/docs/_build/html/_static/searchtools.js
/usr/share/doc/python3-pyproj/docs/_build/html/_static/underscore-1.3.1.js
/usr/share/doc/python3-pyproj/docs/_build/html/_static/underscore.js
/usr/share/doc/python3-pyproj/docs/_build/html/_static/up-pressed.png
/usr/share/doc/python3-pyproj/docs/_build/html/_static/up.png
/usr/share/doc/python3-pyproj/docs/_build/html/_static/websupport.js
/usr/share/doc/python3-pyproj/docs/_build/html/api
/usr/share/doc/python3-pyproj/docs/_build/html/api/crs.html
/usr/share/doc/python3-pyproj/docs/_build/html/api/datadir.html
/usr/share/doc/python3-pyproj/docs/_build/html/api/enums.html
/usr/share/doc/python3-pyproj/docs/_build/html/api/exceptions.html
/usr/share/doc/python3-pyproj/docs/_build/html/api/geod.html
/usr/share/doc/python3-pyproj/docs/_build/html/api/index.html
/usr/share/doc/python3-pyproj/docs/_build/html/api/list.html
/usr/share/doc/python3-pyproj/docs/_build/html/api/proj.html
/usr/share/doc/python3-pyproj/docs/_build/html/api/show_versions.html
/usr/share/doc/python3-pyproj/docs/_build/html/api/transformer.html
/usr/share/doc/python3-pyproj/docs/_build/html/examples.html
/usr/share/doc/python3-pyproj/docs/_build/html/genindex.html
/usr/share/doc/python3-pyproj/docs/_build/html/gotchas.html
/usr/share/doc/python3-pyproj/docs/_build/html/history.html
/usr/share/doc/python3-pyproj/docs/_build/html/index.html
/usr/share/doc/python3-pyproj/docs/_build/html/installation.html
/usr/share/doc/python3-pyproj/docs/_build/html/objects.inv
/usr/share/doc/python3-pyproj/docs/_build/html/optimize_transformations.html
/usr/share/doc/python3-pyproj/docs/_build/html/py-modindex.html
/usr/share/doc/python3-pyproj/docs/_build/html/search.html
/usr/share/doc/python3-pyproj/docs/_build/html/searchindex.js
/usr/share/doc/python3-pyproj/docs/api
/usr/share/doc/python3-pyproj/docs/api/crs.rst
/usr/share/doc/python3-pyproj/docs/api/datadir.rst
/usr/share/doc/python3-pyproj/docs/api/enums.rst
/usr/share/doc/python3-pyproj/docs/api/exceptions.rst
/usr/share/doc/python3-pyproj/docs/api/geod.rst
/usr/share/doc/python3-pyproj/docs/api/index.rst
/usr/share/doc/python3-pyproj/docs/api/list.rst
/usr/share/doc/python3-pyproj/docs/api/proj.rst
/usr/share/doc/python3-pyproj/docs/api/show_versions.rst
/usr/share/doc/python3-pyproj/docs/api/transformer.rst
/usr/share/doc/python3-pyproj/docs/conf.py
/usr/share/doc/python3-pyproj/docs/examples.rst
/usr/share/doc/python3-pyproj/docs/gotchas.rst
/usr/share/doc/python3-pyproj/docs/history.rst
/usr/share/doc/python3-pyproj/docs/index.rst
/usr/share/doc/python3-pyproj/docs/installation.rst
/usr/share/doc/python3-pyproj/docs/make.bat
/usr/share/doc/python3-pyproj/docs/optimize_transformations.rst

References

Summary

In this tutorial we learn how to install python3-pyproj on Rocky Linux 8 using yum and dnf.