How To Install psi on Ubuntu 18.04

In this tutorial we learn how to install psi on Ubuntu 18.04. psi is Jabber client using Qt

Introduction

In this tutorial we learn how to install psi on Ubuntu 18.04.

What is psi

psi is:

Psi is a free instant messaging application designed for the Jabber (XMPP) IM network (including Google Talk). It has full Unicode support, and supports most important XMPP features like file transfer, group chat, encryption etc.

Psi relies on the qca2 library for its encryption features. Therefore, it’s necessary to install libqca2-plugin-ossl for SSL (client-to-server) encryption and libqca2-plugin-gnupg for PGP (end-to-end) encryption.

There are three methods to install psi 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 psi Using apt-get

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

sudo apt-get update

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

sudo apt-get -y install psi

Install psi Using apt

Update apt database with apt using the following command.

sudo apt update

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

sudo apt -y install psi

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

sudo aptitude -y install psi

How To Uninstall psi on Ubuntu 18.04

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

sudo apt-get remove psi

Uninstall psi And Its Dependencies

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

sudo apt-get -y autoremove psi

Remove psi Configurations and Data

To remove psi configuration and data from Ubuntu 18.04 we can use the following command:

sudo apt-get -y purge psi

Remove psi configuration, data, and all of its dependencies

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

sudo apt-get -y autoremove --purge psi

References

Summary

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