How To Install libghc-pandoc-prof on Debian 12

Learn how to install libghc-pandoc-prof on Debian 12 with this tutorial. libghc-pandoc-prof is general markup converter - profiling libraries

Introduction

In this tutorial we learn how to install libghc-pandoc-prof on Debian 12.

What is libghc-pandoc-prof

libghc-pandoc-prof is:

Pandoc is a Haskell library for converting from one markup format to another, and a command-line tool that uses this library. The formats it can handle include

  • light markup formats (many variants of Markdown, reStructuredText, AsciiDoc, Org-mode, Muse, Textile, txt2tags)
  • HTML formats (HTML 4 and 5)
  • Ebook formats (EPUB v2 and v3, FB2)
  • Documentation formats (GNU TexInfo, Haddock)
  • Roff formats (man, ms)
  • TeX formats (LaTeX, ConTeXt)
  • XML formats (DocBook 4 and 5, JATS, TEI Simple, OpenDocument)
  • Outline formats (OPML)
  • Bibliography formats (BibTeX, BibLaTeX, CSL JSON, CSL YAML)
  • Word processor formats (Docx, RTF, ODT)
  • Interactive notebook formats (Jupyter notebook ipynb)
  • Page layout formats (InDesign ICML)
  • Wiki markup formats (MediaWiki, DokuWiki, TikiWiki, TWiki, Vimwiki, XWiki, ZimWiki, Jira wiki, Creole)
  • Slide show formats (LaTeX Beamer, PowerPoint, Slidy, reveal.js, Slideous, S5, DZSlides)
  • Data formats (CSV tables)
  • PDF (via external programs such as pdflatex or wkhtmltopdf)

Pandoc can convert mathematical content in documents between TeX, MathML, Word equations, roff eqn, and plain text. It includes a powerful system for automatic citations and bibliographies, and it can be customized extensively using templates, filters, and custom readers and writers written in Lua.

This package contains the profiling libraries for Pandoc.

There are three methods to install libghc-pandoc-prof 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 libghc-pandoc-prof 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-prof using apt-get by running the following command:

sudo apt-get -y install libghc-pandoc-prof

Install libghc-pandoc-prof Using apt

Update apt database with apt using the following command.

sudo apt update

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

sudo apt -y install libghc-pandoc-prof

Install libghc-pandoc-prof 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 libghc-pandoc-prof using aptitude by running the following command:

sudo aptitude -y install libghc-pandoc-prof

How To Uninstall libghc-pandoc-prof on Debian 12

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

sudo apt-get remove libghc-pandoc-prof

Uninstall libghc-pandoc-prof And Its Dependencies

To uninstall libghc-pandoc-prof and its dependencies that are no longer needed by Debian 12, we can use the command below:

sudo apt-get -y autoremove libghc-pandoc-prof

Remove libghc-pandoc-prof Configurations and Data

To remove libghc-pandoc-prof configuration and data from Debian 12 we can use the following command:

sudo apt-get -y purge libghc-pandoc-prof

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

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

sudo apt-get -y autoremove --purge libghc-pandoc-prof

Dependencies

libghc-pandoc-prof have the following dependencies:

References

Summary

In this tutorial we learn how to install libghc-pandoc-prof package on Debian 12 using different package management tools: apt, apt-get and aptitude.