How To Install purple-matrix on Ubuntu 18.04

In this tutorial we learn how to install purple-matrix on Ubuntu 18.04. purple-matrix is Matrix plugin for libpurple

Introduction

In this tutorial we learn how to install purple-matrix on Ubuntu 18.04.

What is purple-matrix

purple-matrix is:

Plugin for libpurple which adds the ability to communicate with matrix.org homeservers to any libpurple-based clients (such as Pidgin).

This project is somewhat alpha, and only basic functionality has been implemented. Sending and receiving simple text messages is supported, as is joining rooms you are invited to by other users.

The following are not yet supported:

  • Creating new rooms (and one-to-one chats)
  • Joining existing rooms by alias instead of room_id
  • Presence indication
  • Typing indication
  • Videos/rich text in messages
  • Account registration
  • Room topics
  • Voice/video calling

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

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

sudo apt-get update

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

sudo apt-get -y install purple-matrix

Install purple-matrix Using apt

Update apt database with apt using the following command.

sudo apt update

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

sudo apt -y install purple-matrix

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

sudo aptitude -y install purple-matrix

How To Uninstall purple-matrix on Ubuntu 18.04

To uninstall only the purple-matrix package we can use the following command:

sudo apt-get remove purple-matrix

Uninstall purple-matrix And Its Dependencies

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

sudo apt-get -y autoremove purple-matrix

Remove purple-matrix Configurations and Data

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

sudo apt-get -y purge purple-matrix

Remove purple-matrix configuration, data, and all of its dependencies

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

sudo apt-get -y autoremove --purge purple-matrix

References

Summary

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