How To Install kwalletcli on Kali Linux

In this tutorial we learn how to install kwalletcli on Kali Linux. kwalletcli is command line interface to the KDE Wallet

Introduction

In this tutorial we learn how to install kwalletcli on Kali Linux.

What is kwalletcli

kwalletcli is:

kwalletcli implements a command line interface tool to get and set password entries in the default KDE Wallet. Also included are a shell wrapper around pinentry, a pinentry-kwallet application checking the KDE Wallet for the passphrase requested before asking the user for use with the GnuPG Agent, which is also capable of running without a pinentry as backend, and kwalletaskpass, which can store SSH key passphrases in the KDE Wallet for use with the OpenSSH Agent, and is registered as ssh-askpass alternative.

There are three methods to install kwalletcli on Kali Linux. We can use apt-get, apt and aptitude. In the following sections we will describe each method. You can choose one of them.

Install kwalletcli Using apt-get

Update apt database with apt-get using the following command.

sudo apt-get update

After updating apt database, We can install kwalletcli using apt-get by running the following command:

sudo apt-get -y install kwalletcli

Install kwalletcli Using apt

Update apt database with apt using the following command.

sudo apt update

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

sudo apt -y install kwalletcli

Install kwalletcli Using aptitude

If you want to follow this method, you might need to install aptitude on Kali Linux first since aptitude is usually not installed by default on Kali Linux. Update apt database with aptitude using the following command.

sudo aptitude update

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

sudo aptitude -y install kwalletcli

How To Uninstall kwalletcli on Kali Linux

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

sudo apt-get remove kwalletcli

Uninstall kwalletcli And Its Dependencies

To uninstall kwalletcli and its dependencies that are no longer needed by Kali Linux, we can use the command below:

sudo apt-get -y autoremove kwalletcli

Remove kwalletcli Configurations and Data

To remove kwalletcli configuration and data from Kali Linux we can use the following command:

sudo apt-get -y purge kwalletcli

Remove kwalletcli configuration, data, and all of its dependencies

We can use the following command to remove kwalletcli configurations, data and all of its dependencies, we can use the following command:

sudo apt-get -y autoremove --purge kwalletcli

Dependencies

kwalletcli have the following dependencies:

References

Summary

In this tutorial we learn how to install kwalletcli package on Kali Linux using different package management tools: apt, apt-get and aptitude.