How To Install geany-plugin-prettyprinter on Ubuntu 18.04

In this tutorial we learn how to install geany-plugin-prettyprinter on Ubuntu 18.04. geany-plugin-prettyprinter is XML pretty printer for Geany

Introduction

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

What is geany-plugin-prettyprinter

geany-plugin-prettyprinter is:

This plugin gives Geany XML pretty-printing functionality, allowing it to beautify and enhance the readability of XML files.

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

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

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

Install geany-plugin-prettyprinter Using apt

Update apt database with apt using the following command.

sudo apt update

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

sudo apt -y install geany-plugin-prettyprinter

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

sudo aptitude -y install geany-plugin-prettyprinter

How To Uninstall geany-plugin-prettyprinter on Ubuntu 18.04

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

sudo apt-get remove geany-plugin-prettyprinter

Uninstall geany-plugin-prettyprinter And Its Dependencies

To uninstall geany-plugin-prettyprinter 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-prettyprinter

Remove geany-plugin-prettyprinter Configurations and Data

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

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

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

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

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

References

Summary

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