How To Install elpa-org-make-toc on Debian 12
Introduction
In this tutorial we learn how to install elpa-org-make-toc on Debian 12.
What is elpa-org-make-toc
elpa-org-make-toc is:
This package makes it easy to have one or more customizable tables of contents in Org files. They can be updated manually, or automatically when the file is saved. Links to headings are created compatible with GitHub’s Org renderer.
There are three methods to install elpa-org-make-toc 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-org-make-toc 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-org-make-toc using apt-get by running the following command:
sudo apt-get -y install elpa-org-make-toc
Install elpa-org-make-toc Using apt
Update apt database with apt using the following command.
sudo apt update
After updating apt database, We can install elpa-org-make-toc using apt by running the following command:
sudo apt -y install elpa-org-make-toc
Install elpa-org-make-toc 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-org-make-toc using aptitude by running the following command:
sudo aptitude -y install elpa-org-make-toc
How To Uninstall elpa-org-make-toc on Debian 12
To uninstall only the elpa-org-make-toc package we can use the following command:
sudo apt-get remove elpa-org-make-toc
Uninstall elpa-org-make-toc And Its Dependencies
To uninstall elpa-org-make-toc and its dependencies that are no longer needed by Debian 12, we can use the command below:
sudo apt-get -y autoremove elpa-org-make-toc
Remove elpa-org-make-toc Configurations and Data
To remove elpa-org-make-toc configuration and data from Debian 12 we can use the following command:
sudo apt-get -y purge elpa-org-make-toc
Remove elpa-org-make-toc configuration, data, and all of its dependencies
We can use the following command to remove elpa-org-make-toc configurations, data and all of its dependencies, we can use the following command:
sudo apt-get -y autoremove --purge elpa-org-make-toc
Dependencies
elpa-org-make-toc have the following dependencies:
References
Summary
In this tutorial we learn how to install elpa-org-make-toc package on Debian 12 using different package management tools: apt, apt-get and aptitude.