How To Install elpa-magit-todos on Debian 11

In this tutorial we learn how to install elpa-magit-todos on Debian 11. elpa-magit-todos is show source file TODOs in Magit

Introduction

In this tutorial we learn how to install elpa-magit-todos on Debian 11.

What is elpa-magit-todos

elpa-magit-todos is:

This package displays keyword entries from source code comments and Org files in the Magit status buffer. Activating an item jumps to it in its file. By default, it uses keywords from `hl-todo’, minus a few (like “NOTE”).

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

sudo apt-get -y install elpa-magit-todos

Install elpa-magit-todos Using apt

Update apt database with apt using the following command.

sudo apt update

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

sudo apt -y install elpa-magit-todos

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

sudo aptitude -y install elpa-magit-todos

How To Uninstall elpa-magit-todos on Debian 11

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

sudo apt-get remove elpa-magit-todos

Uninstall elpa-magit-todos And Its Dependencies

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

sudo apt-get -y autoremove elpa-magit-todos

Remove elpa-magit-todos Configurations and Data

To remove elpa-magit-todos configuration and data from Debian 11 we can use the following command:

sudo apt-get -y purge elpa-magit-todos

Remove elpa-magit-todos configuration, data, and all of its dependencies

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

sudo apt-get -y autoremove --purge elpa-magit-todos

Dependencies

elpa-magit-todos have the following dependencies:

References

Summary

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