How To Install libghc-gitit-dev on Ubuntu 22.04
Introduction
In this tutorial we learn how to install libghc-gitit-dev
on Ubuntu 22.04.
What is libghc-gitit-dev
libghc-gitit-dev 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. See http://www.haskell.org/ for more information on Haskell.
There are three methods to install libghc-gitit-dev
on Ubuntu 22.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-dev 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-dev
using apt-get
by running the following command:
sudo apt-get -y install libghc-gitit-dev
Install libghc-gitit-dev Using apt
Update apt database with apt
using the following command.
sudo apt update
After updating apt database, We can install libghc-gitit-dev
using apt
by running the following command:
sudo apt -y install libghc-gitit-dev
Install libghc-gitit-dev 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-dev
using aptitude
by running the following command:
sudo aptitude -y install libghc-gitit-dev
How To Uninstall libghc-gitit-dev on Ubuntu 22.04
To uninstall only the libghc-gitit-dev
package we can use the following command:
sudo apt-get remove libghc-gitit-dev
Uninstall libghc-gitit-dev And Its Dependencies
To uninstall libghc-gitit-dev
and its dependencies that are no longer needed by Ubuntu 22.04, we can use the command below:
sudo apt-get -y autoremove libghc-gitit-dev
Remove libghc-gitit-dev Configurations and Data
To remove libghc-gitit-dev
configuration and data from Ubuntu 22.04 we can use the following command:
sudo apt-get -y purge libghc-gitit-dev
Remove libghc-gitit-dev configuration, data, and all of its dependencies
We can use the following command to remove libghc-gitit-dev
configurations, data and all of its dependencies, we can use the following command:
sudo apt-get -y autoremove --purge libghc-gitit-dev
References
Summary
In this tutorial we learn how to install libghc-gitit-dev
package on Ubuntu 22.04 using different package management tools: apt
, apt-get
and aptitude
.