glusterd command not found

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

Introduction

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

glusterd: command not found

or when using sudo you get the following error message

sudo: glusterd: command not found

Solutions to glusterd: command not found

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

In Ubuntu glusterd is provided by glusterfs-server package.

glusterfs-server is:

GlusterFS is a clustered file-system capable of scaling to several peta-bytes. It aggregates various storage bricks over Infiniband RDMA or TCP/IP interconnect into one large parallel network file system. GlusterFS is one of the most sophisticated file system in terms of features and extensibility. It borrows a powerful concept called Translators from GNU Hurd kernel. Much of the code in GlusterFS is in userspace and easily manageable.

This package installs the gluster server binaries, scripts and configuration files to turn GlusterFS into a fully fledged file server.

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

sudo apt-get -y install glusterfs-server

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

You can also use apt command to install glusterfs-server.

sudo apt -y install glusterfs-server

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

sudo aptitude install glusterfs-server

Summary

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