How To Install kwalletcli on CentOS 7

In this tutorial we learn how to install kwalletcli on CentOS 7. kwalletcli is CLI for the KDE Wallet

Introduction

In this tutorial we learn how to install kwalletcli on CentOS 7.

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 CentOS 7. In this tutorial we discuss both methods but you only need to choose one of method to install kwalletcli.

Install kwalletcli on CentOS 7 Using yum

Update yum database with yum using the following command.

sudo yum makecache

After updating yum database, We can install kwalletcli using yum by running the following command:

sudo yum -y install kwalletcli

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

sudo dnf -y install kwalletcli

How To Uninstall kwalletcli on CentOS 7

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 CentOS 7 using yum and dnf.