How To Install elpa-browse-kill-ring on Ubuntu 18.04

In this tutorial we learn how to install elpa-browse-kill-ring on Ubuntu 18.04. elpa-browse-kill-ring is interactively insert items from kill-ring

Introduction

In this tutorial we learn how to install elpa-browse-kill-ring on Ubuntu 18.04.

What is elpa-browse-kill-ring

elpa-browse-kill-ring is:

Ever feel that ‘C-y M-y M-y M-y …’ is not a great way of trying to find that piece of text you know you killed a while back? Then browse-kill-ring.el is for you.

Note that the command keeps track of the last window displayed to handle insertion of chosen text; this might have unexpected consequences if you do ‘M-x browse-kill-ring’, then switch your window configuration, and try to use the same Kill Ring buffer again.

There are three methods to install elpa-browse-kill-ring 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 elpa-browse-kill-ring Using apt-get

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

sudo apt-get update

After updating apt database, We can install elpa-browse-kill-ring using apt-get by running the following command:

sudo apt-get -y install elpa-browse-kill-ring

Install elpa-browse-kill-ring Using apt

Update apt database with apt using the following command.

sudo apt update

After updating apt database, We can install elpa-browse-kill-ring using apt by running the following command:

sudo apt -y install elpa-browse-kill-ring

Install elpa-browse-kill-ring 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 elpa-browse-kill-ring using aptitude by running the following command:

sudo aptitude -y install elpa-browse-kill-ring

How To Uninstall elpa-browse-kill-ring on Ubuntu 18.04

To uninstall only the elpa-browse-kill-ring package we can use the following command:

sudo apt-get remove elpa-browse-kill-ring

Uninstall elpa-browse-kill-ring And Its Dependencies

To uninstall elpa-browse-kill-ring and its dependencies that are no longer needed by Ubuntu 18.04, we can use the command below:

sudo apt-get -y autoremove elpa-browse-kill-ring

Remove elpa-browse-kill-ring Configurations and Data

To remove elpa-browse-kill-ring configuration and data from Ubuntu 18.04 we can use the following command:

sudo apt-get -y purge elpa-browse-kill-ring

Remove elpa-browse-kill-ring configuration, data, and all of its dependencies

We can use the following command to remove elpa-browse-kill-ring configurations, data and all of its dependencies, we can use the following command:

sudo apt-get -y autoremove --purge elpa-browse-kill-ring

References

Summary

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