How To Install dokuwiki on Kali Linux
Introduction
In this tutorial we learn how to install dokuwiki on Kali Linux.
What is dokuwiki
dokuwiki is:
DokuWiki is a wiki mainly aimed at creating documentation of any kind. It is targeted at developer teams, workgroups and small companies. It has a simple but powerful syntax which makes sure the datafiles remain readable outside the wiki and eases the creation of structured texts. All data is stored in plain text files – no database is required.
There are three methods to install dokuwiki 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 dokuwiki Using apt-get
Update apt database with apt-get using the following command.
sudo apt-get updateAfter updating apt database, We can install dokuwiki using apt-get by running the following command:
sudo apt-get -y install dokuwikiInstall dokuwiki Using apt
Update apt database with apt using the following command.
sudo apt updateAfter updating apt database, We can install dokuwiki using apt by running the following command:
sudo apt -y install dokuwikiInstall dokuwiki 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 dokuwiki using aptitude by running the following command:
sudo aptitude -y install dokuwikiHow To Uninstall dokuwiki on Kali Linux
To uninstall only the dokuwiki package we can use the following command:
sudo apt-get remove dokuwikiUninstall dokuwiki And Its Dependencies
To uninstall dokuwiki and its dependencies that are no longer needed by Kali Linux, we can use the command below:
sudo apt-get -y autoremove dokuwikiRemove dokuwiki Configurations and Data
To remove dokuwiki configuration and data from Kali Linux we can use the following command:
sudo apt-get -y purge dokuwikiRemove dokuwiki configuration, data, and all of its dependencies
We can use the following command to remove dokuwiki configurations, data and all of its dependencies, we can use the following command:
sudo apt-get -y autoremove --purge dokuwikiDependencies
dokuwiki have the following dependencies:
- debconf
- javascript-common
- libjs-jquery
- libjs-jquery-cookie
- libjs-jquery-ui
- libphp-simplepie
- php
- php-geshi
- php-phpseclib
- php-random-compat
- php-xml
- ucf
References
Summary
In this tutorial we learn how to install dokuwiki package on Kali Linux using different package management tools: apt, apt-get and aptitude.