How To Install elpa-srv on Debian 12

Learn how to install elpa-srv on Debian 12 with this tutorial. elpa-srv is RFC2782 (SRV record) client for emacs

Introduction

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

What is elpa-srv

elpa-srv is:

This package is used to look up hostname and port for a service at a specific domain. There might be multiple results, and the caller is supposed to attempt to connect to each hostname+port in turn.

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

sudo apt-get -y install elpa-srv

Install elpa-srv Using apt

Update apt database with apt using the following command.

sudo apt update

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

sudo apt -y install elpa-srv

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

sudo aptitude -y install elpa-srv

How To Uninstall elpa-srv on Debian 12

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

sudo apt-get remove elpa-srv

Uninstall elpa-srv And Its Dependencies

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

sudo apt-get -y autoremove elpa-srv

Remove elpa-srv Configurations and Data

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

sudo apt-get -y purge elpa-srv

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

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

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

Dependencies

elpa-srv have the following dependencies:

References

Summary

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