How To Install python3-ogr on Rocky Linux 8

In this tutorial we learn how to install python3-ogr on Rocky Linux 8. python3-ogr is One API for multiple git forges

Introduction

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

What is python3-ogr

One Git library to Rule!

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

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

sudo dnf -y install python3-ogr

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

sudo yum -y install python3-ogr

How To Uninstall python3-ogr on Rocky Linux 8

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

sudo dnf remove python3-ogr

python3-ogr Package Contents on Rocky Linux 8

/usr/lib/python3.6/site-packages/ogr
/usr/lib/python3.6/site-packages/ogr-0.27.0-py3.6.egg-info
/usr/lib/python3.6/site-packages/ogr-0.27.0-py3.6.egg-info/PKG-INFO
/usr/lib/python3.6/site-packages/ogr-0.27.0-py3.6.egg-info/SOURCES.txt
/usr/lib/python3.6/site-packages/ogr-0.27.0-py3.6.egg-info/dependency_links.txt
/usr/lib/python3.6/site-packages/ogr-0.27.0-py3.6.egg-info/requires.txt
/usr/lib/python3.6/site-packages/ogr-0.27.0-py3.6.egg-info/top_level.txt
/usr/lib/python3.6/site-packages/ogr/__init__.py
/usr/lib/python3.6/site-packages/ogr/__pycache__
/usr/lib/python3.6/site-packages/ogr/__pycache__/__init__.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/ogr/__pycache__/__init__.cpython-36.pyc
/usr/lib/python3.6/site-packages/ogr/__pycache__/abstract.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/ogr/__pycache__/abstract.cpython-36.pyc
/usr/lib/python3.6/site-packages/ogr/__pycache__/constant.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/ogr/__pycache__/constant.cpython-36.pyc
/usr/lib/python3.6/site-packages/ogr/__pycache__/deprecation.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/ogr/__pycache__/deprecation.cpython-36.pyc
/usr/lib/python3.6/site-packages/ogr/__pycache__/exceptions.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/ogr/__pycache__/exceptions.cpython-36.pyc
/usr/lib/python3.6/site-packages/ogr/__pycache__/factory.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/ogr/__pycache__/factory.cpython-36.pyc
/usr/lib/python3.6/site-packages/ogr/__pycache__/parsing.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/ogr/__pycache__/parsing.cpython-36.pyc
/usr/lib/python3.6/site-packages/ogr/__pycache__/read_only.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/ogr/__pycache__/read_only.cpython-36.pyc
/usr/lib/python3.6/site-packages/ogr/__pycache__/utils.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/ogr/__pycache__/utils.cpython-36.pyc
/usr/lib/python3.6/site-packages/ogr/abstract.py
/usr/lib/python3.6/site-packages/ogr/constant.py
/usr/lib/python3.6/site-packages/ogr/deprecation.py
/usr/lib/python3.6/site-packages/ogr/exceptions.py
/usr/lib/python3.6/site-packages/ogr/factory.py
/usr/lib/python3.6/site-packages/ogr/parsing.py
/usr/lib/python3.6/site-packages/ogr/py.typed
/usr/lib/python3.6/site-packages/ogr/read_only.py
/usr/lib/python3.6/site-packages/ogr/services
/usr/lib/python3.6/site-packages/ogr/services/__init__.py
/usr/lib/python3.6/site-packages/ogr/services/__pycache__
/usr/lib/python3.6/site-packages/ogr/services/__pycache__/__init__.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/ogr/services/__pycache__/__init__.cpython-36.pyc
/usr/lib/python3.6/site-packages/ogr/services/__pycache__/base.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/ogr/services/__pycache__/base.cpython-36.pyc
/usr/lib/python3.6/site-packages/ogr/services/base.py
/usr/lib/python3.6/site-packages/ogr/services/github
/usr/lib/python3.6/site-packages/ogr/services/github/__init__.py
/usr/lib/python3.6/site-packages/ogr/services/github/__pycache__
/usr/lib/python3.6/site-packages/ogr/services/github/__pycache__/__init__.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/ogr/services/github/__pycache__/__init__.cpython-36.pyc
/usr/lib/python3.6/site-packages/ogr/services/github/__pycache__/check_run.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/ogr/services/github/__pycache__/check_run.cpython-36.pyc
/usr/lib/python3.6/site-packages/ogr/services/github/__pycache__/comments.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/ogr/services/github/__pycache__/comments.cpython-36.pyc
/usr/lib/python3.6/site-packages/ogr/services/github/__pycache__/flag.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/ogr/services/github/__pycache__/flag.cpython-36.pyc
/usr/lib/python3.6/site-packages/ogr/services/github/__pycache__/issue.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/ogr/services/github/__pycache__/issue.cpython-36.pyc
/usr/lib/python3.6/site-packages/ogr/services/github/__pycache__/project.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/ogr/services/github/__pycache__/project.cpython-36.pyc
/usr/lib/python3.6/site-packages/ogr/services/github/__pycache__/pull_request.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/ogr/services/github/__pycache__/pull_request.cpython-36.pyc
/usr/lib/python3.6/site-packages/ogr/services/github/__pycache__/release.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/ogr/services/github/__pycache__/release.cpython-36.pyc
/usr/lib/python3.6/site-packages/ogr/services/github/__pycache__/service.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/ogr/services/github/__pycache__/service.cpython-36.pyc
/usr/lib/python3.6/site-packages/ogr/services/github/__pycache__/user.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/ogr/services/github/__pycache__/user.cpython-36.pyc
/usr/lib/python3.6/site-packages/ogr/services/github/auth_providers
/usr/lib/python3.6/site-packages/ogr/services/github/auth_providers/__init__.py
/usr/lib/python3.6/site-packages/ogr/services/github/auth_providers/__pycache__
/usr/lib/python3.6/site-packages/ogr/services/github/auth_providers/__pycache__/__init__.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/ogr/services/github/auth_providers/__pycache__/__init__.cpython-36.pyc
/usr/lib/python3.6/site-packages/ogr/services/github/auth_providers/__pycache__/abstract.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/ogr/services/github/auth_providers/__pycache__/abstract.cpython-36.pyc
/usr/lib/python3.6/site-packages/ogr/services/github/auth_providers/__pycache__/github_app.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/ogr/services/github/auth_providers/__pycache__/github_app.cpython-36.pyc
/usr/lib/python3.6/site-packages/ogr/services/github/auth_providers/__pycache__/token.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/ogr/services/github/auth_providers/__pycache__/token.cpython-36.pyc
/usr/lib/python3.6/site-packages/ogr/services/github/auth_providers/__pycache__/tokman.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/ogr/services/github/auth_providers/__pycache__/tokman.cpython-36.pyc
/usr/lib/python3.6/site-packages/ogr/services/github/auth_providers/abstract.py
/usr/lib/python3.6/site-packages/ogr/services/github/auth_providers/github_app.py
/usr/lib/python3.6/site-packages/ogr/services/github/auth_providers/token.py
/usr/lib/python3.6/site-packages/ogr/services/github/auth_providers/tokman.py
/usr/lib/python3.6/site-packages/ogr/services/github/check_run.py
/usr/lib/python3.6/site-packages/ogr/services/github/comments.py
/usr/lib/python3.6/site-packages/ogr/services/github/flag.py
/usr/lib/python3.6/site-packages/ogr/services/github/issue.py
/usr/lib/python3.6/site-packages/ogr/services/github/project.py
/usr/lib/python3.6/site-packages/ogr/services/github/pull_request.py
/usr/lib/python3.6/site-packages/ogr/services/github/release.py
/usr/lib/python3.6/site-packages/ogr/services/github/service.py
/usr/lib/python3.6/site-packages/ogr/services/github/user.py
/usr/lib/python3.6/site-packages/ogr/services/gitlab
/usr/lib/python3.6/site-packages/ogr/services/gitlab/__init__.py
/usr/lib/python3.6/site-packages/ogr/services/gitlab/__pycache__
/usr/lib/python3.6/site-packages/ogr/services/gitlab/__pycache__/__init__.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/ogr/services/gitlab/__pycache__/__init__.cpython-36.pyc
/usr/lib/python3.6/site-packages/ogr/services/gitlab/__pycache__/comments.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/ogr/services/gitlab/__pycache__/comments.cpython-36.pyc
/usr/lib/python3.6/site-packages/ogr/services/gitlab/__pycache__/flag.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/ogr/services/gitlab/__pycache__/flag.cpython-36.pyc
/usr/lib/python3.6/site-packages/ogr/services/gitlab/__pycache__/issue.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/ogr/services/gitlab/__pycache__/issue.cpython-36.pyc
/usr/lib/python3.6/site-packages/ogr/services/gitlab/__pycache__/project.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/ogr/services/gitlab/__pycache__/project.cpython-36.pyc
/usr/lib/python3.6/site-packages/ogr/services/gitlab/__pycache__/pull_request.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/ogr/services/gitlab/__pycache__/pull_request.cpython-36.pyc
/usr/lib/python3.6/site-packages/ogr/services/gitlab/__pycache__/release.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/ogr/services/gitlab/__pycache__/release.cpython-36.pyc
/usr/lib/python3.6/site-packages/ogr/services/gitlab/__pycache__/service.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/ogr/services/gitlab/__pycache__/service.cpython-36.pyc
/usr/lib/python3.6/site-packages/ogr/services/gitlab/__pycache__/user.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/ogr/services/gitlab/__pycache__/user.cpython-36.pyc
/usr/lib/python3.6/site-packages/ogr/services/gitlab/comments.py
/usr/lib/python3.6/site-packages/ogr/services/gitlab/flag.py
/usr/lib/python3.6/site-packages/ogr/services/gitlab/issue.py
/usr/lib/python3.6/site-packages/ogr/services/gitlab/project.py
/usr/lib/python3.6/site-packages/ogr/services/gitlab/pull_request.py
/usr/lib/python3.6/site-packages/ogr/services/gitlab/release.py
/usr/lib/python3.6/site-packages/ogr/services/gitlab/service.py
/usr/lib/python3.6/site-packages/ogr/services/gitlab/user.py
/usr/lib/python3.6/site-packages/ogr/services/pagure
/usr/lib/python3.6/site-packages/ogr/services/pagure/__init__.py
/usr/lib/python3.6/site-packages/ogr/services/pagure/__pycache__
/usr/lib/python3.6/site-packages/ogr/services/pagure/__pycache__/__init__.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/ogr/services/pagure/__pycache__/__init__.cpython-36.pyc
/usr/lib/python3.6/site-packages/ogr/services/pagure/__pycache__/comments.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/ogr/services/pagure/__pycache__/comments.cpython-36.pyc
/usr/lib/python3.6/site-packages/ogr/services/pagure/__pycache__/flag.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/ogr/services/pagure/__pycache__/flag.cpython-36.pyc
/usr/lib/python3.6/site-packages/ogr/services/pagure/__pycache__/issue.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/ogr/services/pagure/__pycache__/issue.cpython-36.pyc
/usr/lib/python3.6/site-packages/ogr/services/pagure/__pycache__/project.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/ogr/services/pagure/__pycache__/project.cpython-36.pyc
/usr/lib/python3.6/site-packages/ogr/services/pagure/__pycache__/pull_request.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/ogr/services/pagure/__pycache__/pull_request.cpython-36.pyc
/usr/lib/python3.6/site-packages/ogr/services/pagure/__pycache__/release.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/ogr/services/pagure/__pycache__/release.cpython-36.pyc
/usr/lib/python3.6/site-packages/ogr/services/pagure/__pycache__/service.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/ogr/services/pagure/__pycache__/service.cpython-36.pyc
/usr/lib/python3.6/site-packages/ogr/services/pagure/__pycache__/user.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/ogr/services/pagure/__pycache__/user.cpython-36.pyc
/usr/lib/python3.6/site-packages/ogr/services/pagure/comments.py
/usr/lib/python3.6/site-packages/ogr/services/pagure/flag.py
/usr/lib/python3.6/site-packages/ogr/services/pagure/issue.py
/usr/lib/python3.6/site-packages/ogr/services/pagure/project.py
/usr/lib/python3.6/site-packages/ogr/services/pagure/pull_request.py
/usr/lib/python3.6/site-packages/ogr/services/pagure/release.py
/usr/lib/python3.6/site-packages/ogr/services/pagure/service.py
/usr/lib/python3.6/site-packages/ogr/services/pagure/user.py
/usr/lib/python3.6/site-packages/ogr/utils.py
/usr/share/doc/python3-ogr
/usr/share/doc/python3-ogr/README.md
/usr/share/licenses/python3-ogr
/usr/share/licenses/python3-ogr/LICENSE

References

Summary

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