How To Install geany-plugin-xmlsnippets on Ubuntu 18.04

In this tutorial we learn how to install geany-plugin-xmlsnippets on Ubuntu 18.04. geany-plugin-xmlsnippets is XMLSnippets plugin for Geany

Introduction

In this tutorial we learn how to install geany-plugin-xmlsnippets on Ubuntu 18.04.

What is geany-plugin-xmlsnippets

geany-plugin-xmlsnippets is:

This plugin extends XML/HTML tag autocompletion provided by Geany. It automatically inserts a matching snippet after you type an opening tag.

Geany is a small and lightweight integrated development environment using the Gtk+ toolkit.

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

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

sudo apt-get update

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

sudo apt-get -y install geany-plugin-xmlsnippets

Install geany-plugin-xmlsnippets Using apt

Update apt database with apt using the following command.

sudo apt update

After updating apt database, We can install geany-plugin-xmlsnippets using apt by running the following command:

sudo apt -y install geany-plugin-xmlsnippets

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

sudo aptitude -y install geany-plugin-xmlsnippets

How To Uninstall geany-plugin-xmlsnippets on Ubuntu 18.04

To uninstall only the geany-plugin-xmlsnippets package we can use the following command:

sudo apt-get remove geany-plugin-xmlsnippets

Uninstall geany-plugin-xmlsnippets And Its Dependencies

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

sudo apt-get -y autoremove geany-plugin-xmlsnippets

Remove geany-plugin-xmlsnippets Configurations and Data

To remove geany-plugin-xmlsnippets configuration and data from Ubuntu 18.04 we can use the following command:

sudo apt-get -y purge geany-plugin-xmlsnippets

Remove geany-plugin-xmlsnippets configuration, data, and all of its dependencies

We can use the following command to remove geany-plugin-xmlsnippets configurations, data and all of its dependencies, we can use the following command:

sudo apt-get -y autoremove --purge geany-plugin-xmlsnippets

References

Summary

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