How To Install dokuwiki on Kali Linux

In this tutorial we learn how to install dokuwiki on Kali Linux. dokuwiki is standards compliant simple to use wiki

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 update

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

sudo apt-get -y install dokuwiki

Install dokuwiki Using apt

Update apt database with apt using the following command.

sudo apt update

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

sudo apt -y install dokuwiki

Install 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 update

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

sudo aptitude -y install dokuwiki

How To Uninstall dokuwiki on Kali Linux

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

sudo apt-get remove dokuwiki

Uninstall 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 dokuwiki

Remove dokuwiki Configurations and Data

To remove dokuwiki configuration and data from Kali Linux we can use the following command:

sudo apt-get -y purge dokuwiki

Remove 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 dokuwiki

Dependencies

dokuwiki have the following dependencies:

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.