cephfs-shell command not found

In this troubleshooting guide we learn how to fix cephfs-shell command not found error message

Introduction

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

cephfs-shell: command not found

or when using sudo you get the following error message

sudo: cephfs-shell: command not found

Solutions to cephfs-shell: command not found

How To Fix cephfs-shell: command not found in Ubuntu / Debian / Kali Linux / Raspbian

In Ubuntu cephfs-shell is provided by cephfs-shell package.

cephfs-shell is:

Ceph is a massively scalable, open-source, distributed storage system that runs on commodity hardware and delivers object, block and file system storage. This is an interactive tool that allows accessing a Ceph file system without mounting it by providing a nice pseudo-shell which works like an FTP client.

This package contains a CLI for interacting with the CephFS.

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

sudo apt-get -y install cephfs-shell

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

You can also use apt command to install cephfs-shell.

sudo apt -y install cephfs-shell

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

sudo aptitude install cephfs-shell

Summary

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