How To Install geany-plugin-geniuspaste on Ubuntu 18.04

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

Introduction

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

What is geany-plugin-geniuspaste

geany-plugin-geniuspaste is:

This plugin allows the user to paste the code from Geany into five different pastebins. At the moment it supports this services:

  • codepad.org
  • tinypaste.com
  • pastebin.geany.org
  • dpaste.de
  • sprunge.us

GeniusPaste detects automatically the syntax of the code and paste it with syntax highlighting enabled. It can also display the pasted code opening a new browser tab.

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

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

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

Install geany-plugin-geniuspaste Using apt

Update apt database with apt using the following command.

sudo apt update

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

sudo apt -y install geany-plugin-geniuspaste

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

sudo aptitude -y install geany-plugin-geniuspaste

How To Uninstall geany-plugin-geniuspaste on Ubuntu 18.04

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

sudo apt-get remove geany-plugin-geniuspaste

Uninstall geany-plugin-geniuspaste And Its Dependencies

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

Remove geany-plugin-geniuspaste Configurations and Data

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

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

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

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

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

References

Summary

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