How To Install kwalletcli on AlmaLinux 8

In this tutorial we learn how to install kwalletcli in AlmaLinux 8. kwalletcli is CLI for the KDE Wallet

Introduction

In this tutorial we learn how to install kwalletcli on AlmaLinux 8.

What is kwalletcli

A command-line interface to the KDE Wallet, for KDE 4 and KF5 (so shell scripts, Python, etc. do not need to use DCOP or D-Bus directly to access it to store passwords, instead being able to call this convenient wrapper). KF5 does come with a kwallet-query utility, however, it requires the caller to know the name of the default wallet, which most scripts won’t know, and lacks kwalletcli’s extra utilities.

We can use yum or dnf to install kwalletcli on AlmaLinux 8. In this tutorial we discuss both methods but you only need to choose one of method to install kwalletcli.

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

sudo dnf -y install kwalletcli

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

sudo yum -y install kwalletcli

How To Uninstall kwalletcli on AlmaLinux 8

To uninstall only the kwalletcli package we can use the following command:

sudo dnf remove kwalletcli

References

Summary

In this tutorial we learn how to install kwalletcli on AlmaLinux 8 using yum and dnf.