How To Install libghc-gitit-prof on Debian 9

In this tutorial we learn how to install libghc-gitit-prof on Debian 9. libghc-gitit-prof is Wiki engine backed by a git or darcs filestore; profiling libraries

Introduction

In this tutorial we learn how to install libghc-gitit-prof on Debian 9.

What is libghc-gitit-prof

libghc-gitit-prof is:

Gitit is a wiki backed by a git or darcs filestore. Pages and uploaded files can be modified either directly via the VCS’s command-line tools or through the wiki’s web interface. Pandoc is used for markup processing, so pages may be written in (extended) markdown, reStructuredText, LaTeX, HTML, or literate Haskell, and exported in ten different formats, including LaTeX, ConTeXt, DocBook, RTF, OpenOffice ODT, and MediaWiki markup.

Other features include

  • plugins: dynamically loaded page transformations written in Haskell;
  • categories;
  • support for Unicode;
  • TeX math using texmath;
  • syntax highlighting of source code files and code snippets using highlighting-kate;
  • wiki pages can be viewed as slide shows;
  • caching;
  • Atom feeds (site-wide and per-page);
  • a library, Network.Gitit, that makes it simple to include a gitit wiki in any happstack application;
  • pages can be written directly in literate Haskell.

This package provides a library for the Haskell programming language, compiled for profiling. See http://www.haskell.org/ for more information on Haskell.

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

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

Install libghc-gitit-prof Using apt

Update apt database with apt using the following command.

sudo apt update

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

sudo apt -y install libghc-gitit-prof

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

sudo aptitude -y install libghc-gitit-prof

How To Uninstall libghc-gitit-prof on Debian 9

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

sudo apt-get remove libghc-gitit-prof

Uninstall libghc-gitit-prof And Its Dependencies

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

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

Remove libghc-gitit-prof Configurations and Data

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

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

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

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

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

Dependencies

libghc-gitit-prof have the following dependencies:

References

Summary

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