How To Install diodon-dev on Ubuntu 18.04

In this tutorial we learn how to install diodon-dev on Ubuntu 18.04. diodon-dev is GTK+ Clipboard manager (development files)

Introduction

In this tutorial we learn how to install diodon-dev on Ubuntu 18.04.

What is diodon-dev

diodon-dev is:

Diodon is a lightweight clipboard manager for Linux written in Vala which “aims to be the best integrated clipboard manager for the Gnome/Unity desktop”.

Diodon features include Ubuntu indicator, clipboard sync (primary selection and Ctrl+C / Ctrl+V clipboard) and a zeitgeist integration for an infinite clipboard history.

Diodon is also extensible through its plugin system.

This package is required to build plugins for Diodon.

There are three methods to install diodon-dev 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 diodon-dev Using apt-get

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

sudo apt-get update

After updating apt database, We can install diodon-dev using apt-get by running the following command:

sudo apt-get -y install diodon-dev

Install diodon-dev Using apt

Update apt database with apt using the following command.

sudo apt update

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

sudo apt -y install diodon-dev

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

sudo aptitude -y install diodon-dev

How To Uninstall diodon-dev on Ubuntu 18.04

To uninstall only the diodon-dev package we can use the following command:

sudo apt-get remove diodon-dev

Uninstall diodon-dev And Its Dependencies

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

sudo apt-get -y autoremove diodon-dev

Remove diodon-dev Configurations and Data

To remove diodon-dev configuration and data from Ubuntu 18.04 we can use the following command:

sudo apt-get -y purge diodon-dev

Remove diodon-dev configuration, data, and all of its dependencies

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

sudo apt-get -y autoremove --purge diodon-dev

References

Summary

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