doit command not found

In this troubleshooting guide we learn how to fix doit command not found error message

Introduction

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

doit: command not found

or when using sudo you get the following error message

sudo: doit: command not found

Solutions to doit: command not found

How To Fix doit: command not found in Ubuntu / Debian / Kali Linux / Raspbian

In Ubuntu doit is provided by python3-doit package.

python3-doit is:

doit is an automation tool that brings the power of build-tools to execute any kind of task.

A task describes some computation to be done (actions), and contains some extra meta-data. The actions can be external programs or Python functions. A single task may define more than one action. doit uses the task’s meta-data to:

  • cache task results
  • correct execution order
  • parallel execution
  • powerful dependency system

This is the Python 3 version of the package.

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

sudo apt-get -y install python3-doit

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

You can also use apt command to install python3-doit.

sudo apt -y install python3-doit

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

sudo aptitude install python3-doit

Summary

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