pandoc-citeproc command not found

In this troubleshooting guide we learn how to fix pandoc-citeproc command not found error message

Introduction

When you run more command in linux terminal / console, you get the following error message

pandoc-citeproc: command not found

or when using sudo you get the following error message

sudo: pandoc-citeproc: command not found

Solutions to pandoc-citeproc: command not found

How To Fix pandoc-citeproc: command not found in Ubuntu / Debian / Kali Linux / Raspbian

In Ubuntu pandoc-citeproc is provided by pandoc-citeproc package.

pandoc-citeproc is:

pandoc-citeproc is a Haskell implementation of the Citation Style Language (CSL).

This package also contains an executable: pandoc-citeproc, which works as a pandoc filter (pandoc >= 1.12), and also has a mode for converting bibliographic databases a YAML format suitable for inclusion in pandoc YAML metadata.

To fix this problem, we can install more using the command below.

sudo apt-get -y install pandoc-citeproc

This command might take some time to finish depending on your machine internet connection.

You can also use apt command to install pandoc-citeproc.

sudo apt -y install pandoc-citeproc

Or if you have aptitude installed you can use the following command.

sudo aptitude install pandoc-citeproc

Summary

In this tutorial we learn how to fix pandoc-citeproc command not found error in Ubuntu / Debian / Kali Linux or Raspbian distribution.