How To Install libdigest-elf-perl on Debian 11

In this tutorial we learn how to install libdigest-elf-perl on Debian 11. libdigest-elf-perl is Perl extension for ElfHash

Introduction

In this tutorial we learn how to install libdigest-elf-perl on Debian 11.

What is libdigest-elf-perl

libdigest-elf-perl is:

Digest::Elf is an implementation of the ElfHash algorithm. It gives Perl programmers a convenient way to generate reasonably unique 32 bit ElfHash values as used in UNIX object files with ELF format.

There are three methods to install libdigest-elf-perl 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 libdigest-elf-perl Using apt-get

Update apt database with apt-get using the following command.

sudo apt-get update

After updating apt database, We can install libdigest-elf-perl using apt-get by running the following command:

sudo apt-get -y install libdigest-elf-perl

Install libdigest-elf-perl Using apt

Update apt database with apt using the following command.

sudo apt update

After updating apt database, We can install libdigest-elf-perl using apt by running the following command:

sudo apt -y install libdigest-elf-perl

Install libdigest-elf-perl 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 libdigest-elf-perl using aptitude by running the following command:

sudo aptitude -y install libdigest-elf-perl

How To Uninstall libdigest-elf-perl on Debian 11

To uninstall only the libdigest-elf-perl package we can use the following command:

sudo apt-get remove libdigest-elf-perl

Uninstall libdigest-elf-perl And Its Dependencies

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

sudo apt-get -y autoremove libdigest-elf-perl

Remove libdigest-elf-perl Configurations and Data

To remove libdigest-elf-perl configuration and data from Debian 11 we can use the following command:

sudo apt-get -y purge libdigest-elf-perl

Remove libdigest-elf-perl configuration, data, and all of its dependencies

We can use the following command to remove libdigest-elf-perl configurations, data and all of its dependencies, we can use the following command:

sudo apt-get -y autoremove --purge libdigest-elf-perl

Dependencies

libdigest-elf-perl have the following dependencies:

References

Summary

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