How To Install wmcliphist on Ubuntu 18.04

In this tutorial we learn how to install wmcliphist on Ubuntu 18.04. wmcliphist is Dockapp which provides a history for X11 selections

Introduction

In this tutorial we learn how to install wmcliphist on Ubuntu 18.04.

What is wmcliphist

wmcliphist is:

wmcliphist is a dockable application for Window Maker. It keeps a history of clipboard operations and allows you to put previously copied items back to clipboard for pasting to other applications.

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

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

sudo apt-get update

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

sudo apt-get -y install wmcliphist

Install wmcliphist Using apt

Update apt database with apt using the following command.

sudo apt update

After updating apt database, We can install wmcliphist using apt by running the following command:

sudo apt -y install wmcliphist

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

sudo aptitude -y install wmcliphist

How To Uninstall wmcliphist on Ubuntu 18.04

To uninstall only the wmcliphist package we can use the following command:

sudo apt-get remove wmcliphist

Uninstall wmcliphist And Its Dependencies

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

sudo apt-get -y autoremove wmcliphist

Remove wmcliphist Configurations and Data

To remove wmcliphist configuration and data from Ubuntu 18.04 we can use the following command:

sudo apt-get -y purge wmcliphist

Remove wmcliphist configuration, data, and all of its dependencies

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

sudo apt-get -y autoremove --purge wmcliphist

References

Summary

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