How To Install elpa-orderless on Debian 12

Learn how to install elpa-orderless on Debian 12 with this tutorial. elpa-orderless is Emacs completion style that matches multiple regexps in any order

Introduction

In this tutorial we learn how to install elpa-orderless on Debian 12.

What is elpa-orderless

elpa-orderless is:

This package provides an Emacs orderless completion style that divides the pattern into space-separated components, and matches candidates that match all of the components in any order. Each component can match in any one of several ways: literally, as a regexp, as an initialism, in the flex style, or as multiple word prefixes. By default, regexp and literal matches are enabled.

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

sudo apt-get -y install elpa-orderless

Install elpa-orderless Using apt

Update apt database with apt using the following command.

sudo apt update

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

sudo apt -y install elpa-orderless

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

sudo aptitude -y install elpa-orderless

How To Uninstall elpa-orderless on Debian 12

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

sudo apt-get remove elpa-orderless

Uninstall elpa-orderless And Its Dependencies

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

sudo apt-get -y autoremove elpa-orderless

Remove elpa-orderless Configurations and Data

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

sudo apt-get -y purge elpa-orderless

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

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

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

Dependencies

elpa-orderless have the following dependencies:

References

Summary

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