How To Install gajim-urlimagepreview on Ubuntu 18.04

In this tutorial we learn how to install gajim-urlimagepreview on Ubuntu 18.04. gajim-urlimagepreview is displays images inside Gajim chat window

Introduction

In this tutorial we learn how to install gajim-urlimagepreview on Ubuntu 18.04.

What is gajim-urlimagepreview

gajim-urlimagepreview is:

This Gajim plugin let the user display images inside the chat window. If they right click on the picture they have several options:

  • save the picture to a location of their choice
  • open the picture with their file manager
  • open the link with their browser Privacy Warning: With this plugin enabled, links received by you will be followed automatically. This can be abused by others to find out your IP address or other information. In case of doubt, leave this plugin disabled.

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

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

sudo apt-get update

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

sudo apt-get -y install gajim-urlimagepreview

Install gajim-urlimagepreview Using apt

Update apt database with apt using the following command.

sudo apt update

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

sudo apt -y install gajim-urlimagepreview

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

sudo aptitude -y install gajim-urlimagepreview

How To Uninstall gajim-urlimagepreview on Ubuntu 18.04

To uninstall only the gajim-urlimagepreview package we can use the following command:

sudo apt-get remove gajim-urlimagepreview

Uninstall gajim-urlimagepreview And Its Dependencies

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

sudo apt-get -y autoremove gajim-urlimagepreview

Remove gajim-urlimagepreview Configurations and Data

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

sudo apt-get -y purge gajim-urlimagepreview

Remove gajim-urlimagepreview configuration, data, and all of its dependencies

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

sudo apt-get -y autoremove --purge gajim-urlimagepreview

References

Summary

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