How To Install gajim-syntaxhighlight on Kali Linux

In this tutorial we learn how to install gajim-syntaxhighlight on Kali Linux. gajim-syntaxhighlight is highlights source code blocks in chat window

Introduction

In this tutorial we learn how to install gajim-syntaxhighlight on Kali Linux.

What is gajim-syntaxhighlight

gajim-syntaxhighlight is:

The plugin uses markdown-style syntax, i.e. text in-between single backticks is rendered as inline code,

selection is possible in multi-line code snippets in between triple-backticks
Note the newlines in this case??

There are three methods to install gajim-syntaxhighlight 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 gajim-syntaxhighlight 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-syntaxhighlight using apt-get by running the following command:

sudo apt-get -y install gajim-syntaxhighlight

Install gajim-syntaxhighlight Using apt

Update apt database with apt using the following command.

sudo apt update

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

sudo apt -y install gajim-syntaxhighlight

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

sudo aptitude -y install gajim-syntaxhighlight

How To Uninstall gajim-syntaxhighlight on Kali Linux

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

sudo apt-get remove gajim-syntaxhighlight

Uninstall gajim-syntaxhighlight And Its Dependencies

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

sudo apt-get -y autoremove gajim-syntaxhighlight

Remove gajim-syntaxhighlight Configurations and Data

To remove gajim-syntaxhighlight configuration and data from Kali Linux we can use the following command:

sudo apt-get -y purge gajim-syntaxhighlight

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

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

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

Dependencies

gajim-syntaxhighlight have the following dependencies:

References

Summary

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