How To Install python3-gitdb on Rocky Linux 8

In this tutorial we learn how to install python3-gitdb on Rocky Linux 8. python3-gitdb is Git Object Database

Introduction

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

What is python3-gitdb

GitDB allows you to access bare git repositories for reading and writing. It aims at allowing full access to loose objects as well as packs with performance and scalability in mind. It operates exclusively on streams, allowing to handle large objects with a small memory footprint. Python 3 version.

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

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

sudo dnf -y install python3-gitdb

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

sudo yum -y install python3-gitdb

How To Uninstall python3-gitdb on Rocky Linux 8

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

sudo dnf remove python3-gitdb

python3-gitdb Package Contents on Rocky Linux 8

/usr/lib/python3.6/site-packages/gitdb
/usr/lib/python3.6/site-packages/gitdb-4.0.1-py3.6.egg-info
/usr/lib/python3.6/site-packages/gitdb-4.0.1-py3.6.egg-info/PKG-INFO
/usr/lib/python3.6/site-packages/gitdb-4.0.1-py3.6.egg-info/SOURCES.txt
/usr/lib/python3.6/site-packages/gitdb-4.0.1-py3.6.egg-info/dependency_links.txt
/usr/lib/python3.6/site-packages/gitdb-4.0.1-py3.6.egg-info/not-zip-safe
/usr/lib/python3.6/site-packages/gitdb-4.0.1-py3.6.egg-info/requires.txt
/usr/lib/python3.6/site-packages/gitdb-4.0.1-py3.6.egg-info/top_level.txt
/usr/lib/python3.6/site-packages/gitdb/__init__.py
/usr/lib/python3.6/site-packages/gitdb/__pycache__
/usr/lib/python3.6/site-packages/gitdb/__pycache__/__init__.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/gitdb/__pycache__/__init__.cpython-36.pyc
/usr/lib/python3.6/site-packages/gitdb/__pycache__/base.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/gitdb/__pycache__/base.cpython-36.pyc
/usr/lib/python3.6/site-packages/gitdb/__pycache__/const.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/gitdb/__pycache__/const.cpython-36.pyc
/usr/lib/python3.6/site-packages/gitdb/__pycache__/exc.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/gitdb/__pycache__/exc.cpython-36.pyc
/usr/lib/python3.6/site-packages/gitdb/__pycache__/fun.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/gitdb/__pycache__/fun.cpython-36.pyc
/usr/lib/python3.6/site-packages/gitdb/__pycache__/pack.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/gitdb/__pycache__/pack.cpython-36.pyc
/usr/lib/python3.6/site-packages/gitdb/__pycache__/stream.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/gitdb/__pycache__/stream.cpython-36.pyc
/usr/lib/python3.6/site-packages/gitdb/__pycache__/typ.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/gitdb/__pycache__/typ.cpython-36.pyc
/usr/lib/python3.6/site-packages/gitdb/__pycache__/util.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/gitdb/__pycache__/util.cpython-36.pyc
/usr/lib/python3.6/site-packages/gitdb/base.py
/usr/lib/python3.6/site-packages/gitdb/const.py
/usr/lib/python3.6/site-packages/gitdb/db
/usr/lib/python3.6/site-packages/gitdb/db/__init__.py
/usr/lib/python3.6/site-packages/gitdb/db/__pycache__
/usr/lib/python3.6/site-packages/gitdb/db/__pycache__/__init__.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/gitdb/db/__pycache__/__init__.cpython-36.pyc
/usr/lib/python3.6/site-packages/gitdb/db/__pycache__/base.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/gitdb/db/__pycache__/base.cpython-36.pyc
/usr/lib/python3.6/site-packages/gitdb/db/__pycache__/git.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/gitdb/db/__pycache__/git.cpython-36.pyc
/usr/lib/python3.6/site-packages/gitdb/db/__pycache__/loose.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/gitdb/db/__pycache__/loose.cpython-36.pyc
/usr/lib/python3.6/site-packages/gitdb/db/__pycache__/mem.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/gitdb/db/__pycache__/mem.cpython-36.pyc
/usr/lib/python3.6/site-packages/gitdb/db/__pycache__/pack.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/gitdb/db/__pycache__/pack.cpython-36.pyc
/usr/lib/python3.6/site-packages/gitdb/db/__pycache__/ref.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/gitdb/db/__pycache__/ref.cpython-36.pyc
/usr/lib/python3.6/site-packages/gitdb/db/base.py
/usr/lib/python3.6/site-packages/gitdb/db/git.py
/usr/lib/python3.6/site-packages/gitdb/db/loose.py
/usr/lib/python3.6/site-packages/gitdb/db/mem.py
/usr/lib/python3.6/site-packages/gitdb/db/pack.py
/usr/lib/python3.6/site-packages/gitdb/db/ref.py
/usr/lib/python3.6/site-packages/gitdb/exc.py
/usr/lib/python3.6/site-packages/gitdb/fun.py
/usr/lib/python3.6/site-packages/gitdb/pack.py
/usr/lib/python3.6/site-packages/gitdb/stream.py
/usr/lib/python3.6/site-packages/gitdb/test
/usr/lib/python3.6/site-packages/gitdb/test/__init__.py
/usr/lib/python3.6/site-packages/gitdb/test/__pycache__
/usr/lib/python3.6/site-packages/gitdb/test/__pycache__/__init__.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/gitdb/test/__pycache__/__init__.cpython-36.pyc
/usr/lib/python3.6/site-packages/gitdb/test/__pycache__/lib.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/gitdb/test/__pycache__/lib.cpython-36.pyc
/usr/lib/python3.6/site-packages/gitdb/test/__pycache__/test_base.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/gitdb/test/__pycache__/test_base.cpython-36.pyc
/usr/lib/python3.6/site-packages/gitdb/test/__pycache__/test_example.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/gitdb/test/__pycache__/test_example.cpython-36.pyc
/usr/lib/python3.6/site-packages/gitdb/test/__pycache__/test_pack.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/gitdb/test/__pycache__/test_pack.cpython-36.pyc
/usr/lib/python3.6/site-packages/gitdb/test/__pycache__/test_stream.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/gitdb/test/__pycache__/test_stream.cpython-36.pyc
/usr/lib/python3.6/site-packages/gitdb/test/__pycache__/test_util.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/gitdb/test/__pycache__/test_util.cpython-36.pyc
/usr/lib/python3.6/site-packages/gitdb/test/lib.py
/usr/lib/python3.6/site-packages/gitdb/test/test_base.py
/usr/lib/python3.6/site-packages/gitdb/test/test_example.py
/usr/lib/python3.6/site-packages/gitdb/test/test_pack.py
/usr/lib/python3.6/site-packages/gitdb/test/test_stream.py
/usr/lib/python3.6/site-packages/gitdb/test/test_util.py
/usr/lib/python3.6/site-packages/gitdb/typ.py
/usr/lib/python3.6/site-packages/gitdb/util.py
/usr/lib/python3.6/site-packages/gitdb/utils
/usr/lib/python3.6/site-packages/gitdb/utils/__init__.py
/usr/lib/python3.6/site-packages/gitdb/utils/__pycache__
/usr/lib/python3.6/site-packages/gitdb/utils/__pycache__/__init__.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/gitdb/utils/__pycache__/__init__.cpython-36.pyc
/usr/lib/python3.6/site-packages/gitdb/utils/__pycache__/encoding.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/gitdb/utils/__pycache__/encoding.cpython-36.pyc
/usr/lib/python3.6/site-packages/gitdb/utils/encoding.py
/usr/share/doc/python3-gitdb
/usr/share/doc/python3-gitdb/AUTHORS
/usr/share/licenses/python3-gitdb
/usr/share/licenses/python3-gitdb/LICENSE

References

Summary

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