How To Install pandoc-citeproc-preamble on Kali Linux
Introduction
In this tutorial we learn how to install pandoc-citeproc-preamble
on Kali Linux.
What is pandoc-citeproc-preamble
pandoc-citeproc-preamble is:
pandoc-citeproc-preamble is a JSON filter for Pandoc which inserts a preamble before the output that the pandoc-citeproc filter appends to the document. This preamble might include a heading (e.g. “Bibliography”) and raw markup to format the bibliography for the output format.
Since pandoc-citeproc doesn’t provide any facility to add formatting control code to its output, pandoc-citeproc-preamble is necessary to avoid the user being forced to add their control code to the end of their input files, thereby losing the input file’s agnosticity with regard to output format.
There are three methods to install pandoc-citeproc-preamble
on Kali Linux. We can use apt-get
, apt
and aptitude
. In the following sections we will describe each method. You can choose one of them.
Install pandoc-citeproc-preamble Using apt-get
Update apt database with apt-get
using the following command.
sudo apt-get update
After updating apt database, We can install pandoc-citeproc-preamble
using apt-get
by running the following command:
sudo apt-get -y install pandoc-citeproc-preamble
Install pandoc-citeproc-preamble Using apt
Update apt database with apt
using the following command.
sudo apt update
After updating apt database, We can install pandoc-citeproc-preamble
using apt
by running the following command:
sudo apt -y install pandoc-citeproc-preamble
Install pandoc-citeproc-preamble Using aptitude
If you want to follow this method, you might need to install aptitude on Kali Linux first since aptitude is usually not installed by default on Kali Linux. Update apt database with aptitude
using the following command.
sudo aptitude update
After updating apt database, We can install pandoc-citeproc-preamble
using aptitude
by running the following command:
sudo aptitude -y install pandoc-citeproc-preamble
How To Uninstall pandoc-citeproc-preamble on Kali Linux
To uninstall only the pandoc-citeproc-preamble
package we can use the following command:
sudo apt-get remove pandoc-citeproc-preamble
Uninstall pandoc-citeproc-preamble And Its Dependencies
To uninstall pandoc-citeproc-preamble
and its dependencies that are no longer needed by Kali Linux, we can use the command below:
sudo apt-get -y autoremove pandoc-citeproc-preamble
Remove pandoc-citeproc-preamble Configurations and Data
To remove pandoc-citeproc-preamble
configuration and data from Kali Linux we can use the following command:
sudo apt-get -y purge pandoc-citeproc-preamble
Remove pandoc-citeproc-preamble configuration, data, and all of its dependencies
We can use the following command to remove pandoc-citeproc-preamble
configurations, data and all of its dependencies, we can use the following command:
sudo apt-get -y autoremove --purge pandoc-citeproc-preamble
Dependencies
pandoc-citeproc-preamble have the following dependencies:
References
Summary
In this tutorial we learn how to install pandoc-citeproc-preamble
package on Kali Linux using different package management tools: apt
, apt-get
and aptitude
.