How To Install libghc-pandoc-citeproc-data on Ubuntu 18.04

In this tutorial we learn how to install libghc-pandoc-citeproc-data on Ubuntu 18.04. libghc-pandoc-citeproc-data is Pandoc support for Citation Style Language - data files

Introduction

In this tutorial we learn how to install libghc-pandoc-citeproc-data on Ubuntu 18.04.

What is libghc-pandoc-citeproc-data

libghc-pandoc-citeproc-data is:

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

pandoc-citeproc adds to pandoc, the famous Haskell text processing tool, a Bibtex like citation and bibliographic formatting and generation facility.

CSL is an XML language for specifying citation and bibliographic formatting, similar in principle to BibTeX .bst files or the binary style files in commercial products like Endnote or Reference Manager.

This package contains the data files needed to use the library.

There are three methods to install libghc-pandoc-citeproc-data on Ubuntu 18.04. We can use apt-get, apt and aptitude. In the following sections we will describe each method. You can choose one of them.

Install libghc-pandoc-citeproc-data Using apt-get

Update apt database with apt-get using the following command.

sudo apt-get update

After updating apt database, We can install libghc-pandoc-citeproc-data using apt-get by running the following command:

sudo apt-get -y install libghc-pandoc-citeproc-data

Install libghc-pandoc-citeproc-data Using apt

Update apt database with apt using the following command.

sudo apt update

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

sudo apt -y install libghc-pandoc-citeproc-data

Install libghc-pandoc-citeproc-data 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 Ubuntu. Update apt database with aptitude using the following command.

sudo aptitude update

After updating apt database, We can install libghc-pandoc-citeproc-data using aptitude by running the following command:

sudo aptitude -y install libghc-pandoc-citeproc-data

How To Uninstall libghc-pandoc-citeproc-data on Ubuntu 18.04

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

sudo apt-get remove libghc-pandoc-citeproc-data

Uninstall libghc-pandoc-citeproc-data And Its Dependencies

To uninstall libghc-pandoc-citeproc-data and its dependencies that are no longer needed by Ubuntu 18.04, we can use the command below:

sudo apt-get -y autoremove libghc-pandoc-citeproc-data

Remove libghc-pandoc-citeproc-data Configurations and Data

To remove libghc-pandoc-citeproc-data configuration and data from Ubuntu 18.04 we can use the following command:

sudo apt-get -y purge libghc-pandoc-citeproc-data

Remove libghc-pandoc-citeproc-data configuration, data, and all of its dependencies

We can use the following command to remove libghc-pandoc-citeproc-data configurations, data and all of its dependencies, we can use the following command:

sudo apt-get -y autoremove --purge libghc-pandoc-citeproc-data

References

Summary

In this tutorial we learn how to install libghc-pandoc-citeproc-data package on Ubuntu 18.04 using different package management tools: apt, apt-get and aptitude.