How To Install gitit on Debian 11

In this tutorial we learn how to install gitit on Debian 11. gitit is Wiki engine backed by a git or darcs filestore

Introduction

In this tutorial we learn how to install gitit on Debian 11.

What is gitit

gitit 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.

There are three methods to install gitit on Debian 11. We can use apt-get, apt and aptitude. In the following sections we will describe each method. You can choose one of them.

Install gitit Using apt-get

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

sudo apt-get update

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

sudo apt-get -y install gitit

Install gitit Using apt

Update apt database with apt using the following command.

sudo apt update

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

sudo apt -y install gitit

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

sudo aptitude -y install gitit

How To Uninstall gitit on Debian 11

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

sudo apt-get remove gitit

Uninstall gitit And Its Dependencies

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

sudo apt-get -y autoremove gitit

Remove gitit Configurations and Data

To remove gitit configuration and data from Debian 11 we can use the following command:

sudo apt-get -y purge gitit

Remove gitit configuration, data, and all of its dependencies

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

sudo apt-get -y autoremove --purge gitit

Dependencies

gitit have the following dependencies:

References

Summary

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