install:debian
This is an old revision of the document!
Table of Contents
DokuWiki on Debian, Ubuntu and derivative Distributions
A Debian package for DokuWiki exists in the official Debian repository and can be installed through the usual Debian tools.
However, we generally do not recommend installing DokuWiki as a Debian package for several reasons:
- The package is outdated, using an older release of DokuWiki making it incompatible with many newer plugins
- The package uses a different directory structure, which can make problems with some plugins and may render some general documentation non applicable
- The package replaces some of DokuWiki's internal libraries with Debian packages versions which again can lead to incompatibilities
DokuWiki Debian Package
You can find details on the official package at these sources:
Additional details can be found at the DokuWiki page on the Debian Wiki.
Recommended Setup
Instead of relying on the Debian package, it is recommended to simply install the webserver and PHP through the package manager and install DokuWiki from the sources.
This can be as easy the follwing for a simple Apache mod_php setup:
$> sudo apt update $> sudo apt install php libapache2-mod-php $> wget https://download.dokuwiki.org/src/dokuwiki/dokuwiki-stable.tgz $> tar xzvf dokuwiki-stable.tgz $> sudo mv dokuwiki-\d\d\d\d-\d\d-\d\d /var/www/dokuwiki $> sudo chown -R www-data:www-data /var/www/dokuwiki # continue on http://localhost/dokuwiki
install/debian.1629840527.txt.gz · Last modified: 2021-08-24 23:28 by Klap-in