How To Install elpa-pointback on Debian 11

In this tutorial we learn how to install elpa-pointback on Debian 11. elpa-pointback is restore window points when returning to buffers

Introduction

In this tutorial we learn how to install elpa-pointback on Debian 11.

What is elpa-pointback

elpa-pointback is:

When you have two windows X and Y showing different sections of the same buffer B, then switch to a different buffer in X, and then show B in X again, the new point in X will be the same as in Y.

With pointback-mode (or global-pointback-mode), window points are preserved instead, and point will be where it originally was in X for B when you return to B.

There are three methods to install elpa-pointback on Debian 11. 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-pointback 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-pointback using apt-get by running the following command:

sudo apt-get -y install elpa-pointback

Install elpa-pointback Using apt

Update apt database with apt using the following command.

sudo apt update

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

sudo apt -y install elpa-pointback

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

sudo aptitude -y install elpa-pointback

How To Uninstall elpa-pointback on Debian 11

To uninstall only the elpa-pointback package we can use the following command:

sudo apt-get remove elpa-pointback

Uninstall elpa-pointback And Its Dependencies

To uninstall elpa-pointback and its dependencies that are no longer needed by Debian 11, we can use the command below:

sudo apt-get -y autoremove elpa-pointback

Remove elpa-pointback Configurations and Data

To remove elpa-pointback configuration and data from Debian 11 we can use the following command:

sudo apt-get -y purge elpa-pointback

Remove elpa-pointback configuration, data, and all of its dependencies

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

sudo apt-get -y autoremove --purge elpa-pointback

Dependencies

elpa-pointback have the following dependencies:

References

Summary

In this tutorial we learn how to install elpa-pointback package on Debian 11 using different package management tools: apt, apt-get and aptitude.