How To Install python3-gitdb on CentOS 8

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

Introduction

In this tutorial we learn how to install python3-gitdb on CentOS 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 CentOS 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 CentOS 8 Using yum

Update yum database with yum using the following command.

sudo yum makecache

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

sudo yum -y install python3-gitdb

Install python3-gitdb on CentOS 8 Using dnf

If you don’t have dnf installed you can install DNF on CentOS 7 first. Update yum database with dnf using the following command.

sudo dnf makecache

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

sudo dnf -y install python3-gitdb

How To Uninstall python3-gitdb on CentOS 8

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

sudo dnf remove python3-gitdb

References

Summary

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