beaker command not found

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

Introduction

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

beaker: command not found

or when using sudo you get the following error message

sudo: beaker: command not found

Solutions to beaker: command not found

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

In Ubuntu beaker is provided by puppet-beaker package.

puppet-beaker is:

Test harness focused on acceptance testing via interactions between multiple (virtual) machines. It provides platform abstraction between different Systems Under Test (SUTs), and it can also be used as a virtual machine provisioner - setting up machines, running any commands on those machines, and then exiting.

Beaker runs tests written in Ruby, and provides additional Domain-Specific Language (DSL) methods. This gives you access to all standard Ruby along with acceptance testing specific commands.

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

sudo apt-get -y install puppet-beaker

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

You can also use apt command to install puppet-beaker.

sudo apt -y install puppet-beaker

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

sudo aptitude install puppet-beaker

Summary

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