How To Install pandoc-citeproc on CentOS 7

In this tutorial we learn how to install pandoc-citeproc on CentOS 7. pandoc-citeproc is Citeproc support for pandoc

Introduction

In this tutorial we learn how to install pandoc-citeproc on CentOS 7.

What is pandoc-citeproc

The pandoc-citeproc library exports functions for using the citeproc system with pandoc. It relies on citeproc-hs, a library for rendering bibliographic reference citations into a variety of styles using a macro language called Citation Style Language (CSL). More details on CSL can be found here <http Currently this package includes a copy of the citeproc-hs code. When citeproc-hs is updated to be compatible, this package will simply depend on citeproc-hs. This package also contains an executable 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.

We can use yum or dnf to install pandoc-citeproc on CentOS 7. In this tutorial we discuss both methods but you only need to choose one of method to install pandoc-citeproc.

Install pandoc-citeproc on CentOS 7 Using yum

Update yum database with yum using the following command.

sudo yum makecache

After updating yum database, We can install pandoc-citeproc using yum by running the following command:

sudo yum -y install pandoc-citeproc

Install pandoc-citeproc on CentOS 7 Using dnf

If you don’t have dnf installed you can install DNF on CentOS 7 first. Update yum database with dnf using the following command.

sudo dnf makecache

After updating yum database, We can install pandoc-citeproc using dnf by running the following command:

sudo dnf -y install pandoc-citeproc

How To Uninstall pandoc-citeproc on CentOS 7

To uninstall only the pandoc-citeproc package we can use the following command:

sudo dnf remove pandoc-citeproc

References

Summary

In this tutorial we learn how to install pandoc-citeproc on CentOS 7 using yum and dnf.