Introduction
In this tutorial we learn how to install libghc-pandoc-prof
on Ubuntu 18.04.
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.
It can read several dialects of Markdown and (subsets of) HTML,
reStructuredText, LaTeX, DocBook,
MediaWiki markup, TWiki markup, Haddock markup,
OPML, Emacs Org-mode, txt2tags, Word Docx, ODT, and Textile,
and it can write Markdown, reStructuredText, XHTML, HTML 5,
LaTeX (including rendering as plain PDF or beamer slide shows),
ConTeXt, DocBook, OPML, TEI, OpenDocument, ODT, Word docx, RTF,
MediaWiki, DokuWiki, ZimWiki, Textile, groff man pages, GNU Texinfo,
plain text, Emacs Org-Mode, AsciiDoc, Haddock markup,
EPUB (v2 and v3), FictionBook2, InDesign ICML,
and several kinds of HTML/javascript slide shows
(S5, Slidy, Slideous, DZSlides, reveal.js).
In contrast to most existing tools for converting Markdown to HTML,
pandoc has a modular design:
it consists of a set of readers, which parse text in a given format
and produce a native representation of the document,
and a set of writers,
which convert this native representation into a target format.
Thus,
adding an input or output format requires only adding a reader or writer.
This package contains the profiling libraries for Pandoc.
There are three methods to install libghc-pandoc-prof
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-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 Ubuntu. 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 Ubuntu 18.04
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 Ubuntu 18.04, 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 Ubuntu 18.04 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
References
Summary
In this tutorial we learn how to install libghc-pandoc-prof
package on Ubuntu 18.04 using different package management tools: apt
, apt-get
and aptitude
.