How To Install gpaste-applet on Debian 9

In this tutorial we learn how to install gpaste-applet on Debian 9. gpaste-applet is GPaste applet for GNOME

Introduction

In this tutorial we learn how to install gpaste-applet on Debian 9.

What is gpaste-applet

gpaste-applet is:

GPaste manages clipboard history and allows easy access to it using keyboard shortcuts, gnome-shell extension, command-line tools, gir bindings.

This package provides the GNOME applet.

There are three methods to install gpaste-applet on Debian 9. We can use apt-get, apt and aptitude. In the following sections we will describe each method. You can choose one of them.

Install gpaste-applet Using apt-get

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

sudo apt-get update

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

sudo apt-get -y install gpaste-applet

Install gpaste-applet Using apt

Update apt database with apt using the following command.

sudo apt update

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

sudo apt -y install gpaste-applet

Install gpaste-applet 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 Debian. Update apt database with aptitude using the following command.

sudo aptitude update

After updating apt database, We can install gpaste-applet using aptitude by running the following command:

sudo aptitude -y install gpaste-applet

How To Uninstall gpaste-applet on Debian 9

To uninstall only the gpaste-applet package we can use the following command:

sudo apt-get remove gpaste-applet

Uninstall gpaste-applet And Its Dependencies

To uninstall gpaste-applet and its dependencies that are no longer needed by Debian 9, we can use the command below:

sudo apt-get -y autoremove gpaste-applet

Remove gpaste-applet Configurations and Data

To remove gpaste-applet configuration and data from Debian 9 we can use the following command:

sudo apt-get -y purge gpaste-applet

Remove gpaste-applet configuration, data, and all of its dependencies

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

sudo apt-get -y autoremove --purge gpaste-applet

Dependencies

gpaste-applet have the following dependencies:

References

Summary

In this tutorial we learn how to install gpaste-applet package on Debian 9 using different package management tools: apt, apt-get and aptitude.