dokuwiki-addsite command not found

In this troubleshooting guide we learn how to fix dokuwiki-addsite command not found error message

Introduction

When you run more command in linux terminal / console, you get the following error message

dokuwiki-addsite: command not found

or when using sudo you get the following error message

sudo: dokuwiki-addsite: command not found

Solutions to dokuwiki-addsite: command not found

How To Fix dokuwiki-addsite: command not found in Ubuntu / Debian / Kali Linux / Raspbian

In Ubuntu dokuwiki-addsite is provided by dokuwiki package.

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.

To fix this problem, we can install more using the command below.

sudo apt-get -y install dokuwiki

This command might take some time to finish depending on your machine internet connection.

You can also use apt command to install dokuwiki.

sudo apt -y install dokuwiki

Or if you have aptitude installed you can use the following command.

sudo aptitude install dokuwiki

Summary

In this tutorial we learn how to fix dokuwiki-addsite command not found error in Ubuntu / Debian / Kali Linux or Raspbian distribution.