How To Install libghc-gitit-data on Ubuntu 18.04

In this tutorial we learn how to install libghc-gitit-data on Ubuntu 18.04. libghc-gitit-data is Wiki engine backed by a git or darcs filestore - Data files

Introduction

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

What is libghc-gitit-data

libghc-gitit-data 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 contains auxiliary data files to be used with gitit or libghc-gitit-dev.

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

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

Install libghc-gitit-data Using apt

Update apt database with apt using the following command.

sudo apt update

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

sudo apt -y install libghc-gitit-data

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

sudo aptitude -y install libghc-gitit-data

How To Uninstall libghc-gitit-data on Ubuntu 18.04

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

sudo apt-get remove libghc-gitit-data

Uninstall libghc-gitit-data And Its Dependencies

To uninstall libghc-gitit-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-gitit-data

Remove libghc-gitit-data Configurations and Data

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

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

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

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

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

References

Summary

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