How To Install elpa-avy on Debian 11

In this tutorial we learn how to install elpa-avy on Debian 11. elpa-avy is jump to things in Emacs tree-style

Introduction

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

What is elpa-avy

elpa-avy is:

This package provides a generic completion method based on building a balanced decision tree with each candidate being a leaf. To traverse the tree from the root to a desired leaf, typically a sequence of `read-key’ can be used.

In order for `read-key’ to make sense, the tree needs to be visualized appropriately, with a character at each branch node. So this completion method works only for things that you can see on your screen, all at once:

  • character positions
  • word or subword start positions
  • line beginning positions
  • link positions
  • window positions

If you’re familiar with the popular `ace-jump-mode’ package, this package does all that and more, without the implementation headache.

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

sudo apt-get -y install elpa-avy

Install elpa-avy Using apt

Update apt database with apt using the following command.

sudo apt update

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

sudo apt -y install elpa-avy

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

sudo aptitude -y install elpa-avy

How To Uninstall elpa-avy on Debian 11

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

sudo apt-get remove elpa-avy

Uninstall elpa-avy And Its Dependencies

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

sudo apt-get -y autoremove elpa-avy

Remove elpa-avy Configurations and Data

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

sudo apt-get -y purge elpa-avy

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

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

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

Dependencies

elpa-avy have the following dependencies:

References

Summary

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