How To Install python3-gitdb on AlmaLinux 8

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

Introduction

In this tutorial we learn how to install python3-gitdb on AlmaLinux 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 AlmaLinux 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 AlmaLinux 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 AlmaLinux 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 AlmaLinux 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 AlmaLinux 8 using yum and dnf.