How To Install elpa-poke on Debian 12

Learn how to install elpa-poke on Debian 12 with this tutorial. elpa-poke is Extensible editor for structured binary data (Emacs mode)

Introduction

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

What is elpa-poke

elpa-poke is:

GNU poke is an interactive, extensible editor for binary data. Not limited to editing basic entities such as bits and bytes, it provides a full-fledged procedural, interactive programming language designed to describe data structures and to operate on them.

This package contains Emacs files that implement the Emacs poke mode.

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

sudo apt-get -y install elpa-poke

Install elpa-poke Using apt

Update apt database with apt using the following command.

sudo apt update

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

sudo apt -y install elpa-poke

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

sudo aptitude -y install elpa-poke

How To Uninstall elpa-poke on Debian 12

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

sudo apt-get remove elpa-poke

Uninstall elpa-poke And Its Dependencies

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

sudo apt-get -y autoremove elpa-poke

Remove elpa-poke Configurations and Data

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

sudo apt-get -y purge elpa-poke

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

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

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

Dependencies

elpa-poke have the following dependencies:

References

Summary

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