How To Install geany-plugin-insertnum on Ubuntu 18.04

In this tutorial we learn how to install geany-plugin-insertnum on Ubuntu 18.04. geany-plugin-insertnum is number inserting plugin for Geany

Introduction

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

What is geany-plugin-insertnum

geany-plugin-insertnum is:

This plugin for Geany replaces a (possibly zero-width) rectangular selection with integer numbers, using start/step/base etc. specified by the user. For practical reasons, the number of lines is limited to 500000.

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

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

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

Install geany-plugin-insertnum Using apt

Update apt database with apt using the following command.

sudo apt update

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

sudo apt -y install geany-plugin-insertnum

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

sudo aptitude -y install geany-plugin-insertnum

How To Uninstall geany-plugin-insertnum on Ubuntu 18.04

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

sudo apt-get remove geany-plugin-insertnum

Uninstall geany-plugin-insertnum And Its Dependencies

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

Remove geany-plugin-insertnum Configurations and Data

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

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

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

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

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

References

Summary

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