gpaste-client command not found

In this troubleshooting guide we learn how to fix gpaste-client command not found error message

Introduction

When you run more command in linux terminal / console, you get the following error message

gpaste-client: command not found

or when using sudo you get the following error message

sudo: gpaste-client: command not found

Solutions to gpaste-client: command not found

How To Fix gpaste-client: command not found in Ubuntu / Debian / Kali Linux / Raspbian

In Ubuntu gpaste-client is provided by gpaste package.

gpaste is:

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

This package contains the command-line tools, the D-Bus service, the GNOME Control Center key bindings, and desktop/appdata files.

To fix this problem, we can install more using the command below.

sudo apt-get -y install gpaste

This command might take some time to finish depending on your machine internet connection.

You can also use apt command to install gpaste.

sudo apt -y install gpaste

Or if you have aptitude installed you can use the following command.

sudo aptitude install gpaste

Summary

In this tutorial we learn how to fix gpaste-client command not found error in Ubuntu / Debian / Kali Linux or Raspbian distribution.