How To Install git-credential-libsecret on Rocky Linux 8

In this tutorial we learn how to install git-credential-libsecret on Rocky Linux 8. git-credential-libsecret is Git helper for accessing credentials via libsecret

Introduction

In this tutorial we learn how to install git-credential-libsecret on Rocky Linux 8.

What is git-credential-libsecret

Git helper for accessing credentials via libsecret.

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

Install git-credential-libsecret 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 git-credential-libsecret using dnf by running the following command:

sudo dnf -y install git-credential-libsecret

Install git-credential-libsecret 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 git-credential-libsecret using yum by running the following command:

sudo yum -y install git-credential-libsecret

How To Uninstall git-credential-libsecret on Rocky Linux 8

To uninstall only the git-credential-libsecret package we can use the following command:

sudo dnf remove git-credential-libsecret

git-credential-libsecret Package Contents on Rocky Linux 8

/usr/lib/.build-id
/usr/lib/.build-id/bb
/usr/lib/.build-id/bb/0b675ffe1f313203f782dacbb64e63be8b2cc2
/usr/libexec/git-core/git-credential-libsecret

References

Summary

In this tutorial we learn how to install git-credential-libsecret on Rocky Linux 8 using yum and dnf.