How To Install gitit on Kali Linux
Introduction
In this tutorial we learn how to install gitit on Kali Linux.
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 Kali Linux. 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 updateAfter updating apt database, We can install gitit using apt-get by running the following command:
sudo apt-get -y install gititInstall gitit Using apt
Update apt database with apt using the following command.
sudo apt updateAfter updating apt database, We can install gitit using apt by running the following command:
sudo apt -y install gititInstall gitit Using aptitude
If you want to follow this method, you might need to install aptitude on Kali Linux first since aptitude is usually not installed by default on Kali Linux. Update apt database with aptitude using the following command.
sudo aptitude updateAfter updating apt database, We can install gitit using aptitude by running the following command:
sudo aptitude -y install gititHow To Uninstall gitit on Kali Linux
To uninstall only the gitit package we can use the following command:
sudo apt-get remove gititUninstall gitit And Its Dependencies
To uninstall gitit and its dependencies that are no longer needed by Kali Linux, we can use the command below:
sudo apt-get -y autoremove gititRemove gitit Configurations and Data
To remove gitit configuration and data from Kali Linux we can use the following command:
sudo apt-get -y purge gititRemove 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 gititDependencies
gitit have the following dependencies:
References
Summary
In this tutorial we learn how to install gitit package on Kali Linux using different package management tools: apt, apt-get and aptitude.