cdist command not found

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

Introduction

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

cdist: command not found

or when using sudo you get the following error message

sudo: cdist: command not found

Solutions to cdist: command not found

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

In Ubuntu cdist is provided by cdist package.

cdist is:

cdist is a usable configuration management system. It adheres to the KISS principle and is being used in small up to enterprise grade environments. It has the following noteworthy features:

  • shell scripting configuration language
  • access to all control structures (if, case, for, while)
  • idempotent target properties
  • zero-dependencies: target system need only /bin/sh and ssh
  • push-based distribution
  • highly-scalable

cdist is an alternative to other configuration management systems like cfengine, bcfg2, chef and puppet.

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

sudo apt-get -y install cdist

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

You can also use apt command to install cdist.

sudo apt -y install cdist

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

sudo aptitude install cdist

Summary

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