puppetdb command not found

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

Introduction

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

puppetdb: command not found

or when using sudo you get the following error message

sudo: puppetdb: command not found

Solutions to puppetdb: command not found

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

In Ubuntu puppetdb is provided by puppetdb package.

puppetdb is:

PuppetDB collects data generated by Puppet. It enables advanced Puppet features like exported resources, and can be the foundation for other applications that use Puppet’s data.

This package contains the PuppetDB server itself.

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

sudo apt-get -y install puppetdb

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

You can also use apt command to install puppetdb.

sudo apt -y install puppetdb

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

sudo aptitude install puppetdb

Summary

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