How To Install elpa-pkg-info on Debian 12
Introduction
In this tutorial we learn how to install elpa-pkg-info on Debian 12.
What is elpa-pkg-info
elpa-pkg-info is:
Library of functions to extract information about installed Emacs packages.
There are functions to extract information about locally installed packages, and functions to get the properties and recipe of the package’s MELPA entry.
There are three methods to install elpa-pkg-info 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-pkg-info 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-pkg-info using apt-get by running the following command:
sudo apt-get -y install elpa-pkg-info
Install elpa-pkg-info Using apt
Update apt database with apt using the following command.
sudo apt update
After updating apt database, We can install elpa-pkg-info using apt by running the following command:
sudo apt -y install elpa-pkg-info
Install elpa-pkg-info 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-pkg-info using aptitude by running the following command:
sudo aptitude -y install elpa-pkg-info
How To Uninstall elpa-pkg-info on Debian 12
To uninstall only the elpa-pkg-info package we can use the following command:
sudo apt-get remove elpa-pkg-info
Uninstall elpa-pkg-info And Its Dependencies
To uninstall elpa-pkg-info and its dependencies that are no longer needed by Debian 12, we can use the command below:
sudo apt-get -y autoremove elpa-pkg-info
Remove elpa-pkg-info Configurations and Data
To remove elpa-pkg-info configuration and data from Debian 12 we can use the following command:
sudo apt-get -y purge elpa-pkg-info
Remove elpa-pkg-info configuration, data, and all of its dependencies
We can use the following command to remove elpa-pkg-info configurations, data and all of its dependencies, we can use the following command:
sudo apt-get -y autoremove --purge elpa-pkg-info
Dependencies
elpa-pkg-info have the following dependencies:
References
Summary
In this tutorial we learn how to install elpa-pkg-info package on Debian 12 using different package management tools: apt, apt-get and aptitude.