How To Install kwalletcli on Fedora 34

kwalletcli is CLI for the KDE Wallet

Introduction

In this tutorial we learn how to install kwalletcli on Fedora 34.

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

Install kwalletcli on Fedora 34 Using dnf

Update yum database with dnf using the following command.

sudo dnf makecache --refresh

The output should look something like this:

Fedora 34 - x86_64                               20 kB/s | 6.6 kB     00:00
Fedora 34 openh264 (From Cisco) - x86_64        1.4 kB/s | 989  B     00:00
Fedora Modular 34 - x86_64                       68 kB/s | 6.5 kB     00:00
Fedora 34 - x86_64 - Updates                    3.5 kB/s | 6.2 kB     00:01
Fedora Modular 34 - x86_64 - Updates             17 kB/s | 5.9 kB     00:00
Metadata cache created.

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

sudo dnf -y install kwalletcli

Install kwalletcli on Fedora 34 Using yum

Update yum database with yum using the following command.

sudo yum makecache --refresh

The output should look something like this:

Fedora 34 - x86_64                               20 kB/s | 6.6 kB     00:00
Fedora 34 openh264 (From Cisco) - x86_64        1.4 kB/s | 989  B     00:00
Fedora Modular 34 - x86_64                       68 kB/s | 6.5 kB     00:00
Fedora 34 - x86_64 - Updates                    3.5 kB/s | 6.2 kB     00:01
Fedora Modular 34 - x86_64 - Updates             17 kB/s | 5.9 kB     00:00
Metadata cache created.

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 Fedora 34

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

sudo dnf remove kwalletcli

kwalletcli Package Contents on Fedora 34

/usr/bin/kwalletaskpass
/usr/bin/kwalletcli
/usr/bin/kwalletcli_getpin
/usr/bin/pinentry-kwallet
/usr/lib/.build-id
/usr/lib/.build-id/f5
/usr/lib/.build-id/f5/2f4abceb2b20e2f905958baae159e2fe223f8e
/usr/share/licenses/kwalletcli
/usr/share/licenses/kwalletcli/LICENCE
/usr/share/man/man1/kwalletaskpass.1.gz
/usr/share/man/man1/kwalletcli.1.gz
/usr/share/man/man1/kwalletcli_getpin.1.gz
/usr/share/man/man1/pinentry-kwallet.1.gz

References

Summary

In this tutorial we learn how to install kwalletcli on Fedora 34 using yum and dnf.