How To Install qtkeychain-dev on Ubuntu 18.04

In this tutorial we learn how to install qtkeychain-dev on Ubuntu 18.04. qtkeychain-dev is Development files for qtkeychain

Introduction

In this tutorial we learn how to install qtkeychain-dev on Ubuntu 18.04.

What is qtkeychain-dev

qtkeychain-dev is:

Qt API to store passwords

It can use KWallet or GNOME Keyring, if one of them is available. If none of them is available, qtkeychain will report an error or writes with explicit request the password unencrypted at a file.

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

Install qtkeychain-dev Using apt-get

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

sudo apt-get update

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

sudo apt-get -y install qtkeychain-dev

Install qtkeychain-dev Using apt

Update apt database with apt using the following command.

sudo apt update

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

sudo apt -y install qtkeychain-dev

Install qtkeychain-dev Using aptitude

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

sudo aptitude update

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

sudo aptitude -y install qtkeychain-dev

How To Uninstall qtkeychain-dev on Ubuntu 18.04

To uninstall only the qtkeychain-dev package we can use the following command:

sudo apt-get remove qtkeychain-dev

Uninstall qtkeychain-dev And Its Dependencies

To uninstall qtkeychain-dev and its dependencies that are no longer needed by Ubuntu 18.04, we can use the command below:

sudo apt-get -y autoremove qtkeychain-dev

Remove qtkeychain-dev Configurations and Data

To remove qtkeychain-dev configuration and data from Ubuntu 18.04 we can use the following command:

sudo apt-get -y purge qtkeychain-dev

Remove qtkeychain-dev configuration, data, and all of its dependencies

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

sudo apt-get -y autoremove --purge qtkeychain-dev

References

Summary

In this tutorial we learn how to install qtkeychain-dev package on Ubuntu 18.04 using different package management tools: apt, apt-get and aptitude.