beanstalkd command not found

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

Introduction

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

beanstalkd: command not found

or when using sudo you get the following error message

sudo: beanstalkd: command not found

Solutions to beanstalkd: command not found

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

In Ubuntu beanstalkd is provided by beanstalkd package.

beanstalkd is:

Beanstalkd is a simple, fast, workqueue service (a specific case of message queueing), in which messages are organised in “tubes”. Beanstalk clients can insert and consume messages into and from such tubes.

The beanstalk interface is generic, but was originally designed for reducing the latency of page views in high-volume web applications by running time-consuming tasks asynchronously.

Beanstalkd is meant to be ran in a trusted network, as it has no authorisation/authentication mechanisms.

This package has the server files.

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

sudo apt-get -y install beanstalkd

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

You can also use apt command to install beanstalkd.

sudo apt -y install beanstalkd

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

sudo aptitude install beanstalkd

Summary

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