swift-bench command not found

In this troubleshooting guide we learn how to fix swift-bench command not found error message

Introduction

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

swift-bench: command not found

or when using sudo you get the following error message

sudo: swift-bench: command not found

Solutions to swift-bench: command not found

How To Fix swift-bench: command not found in Ubuntu / Debian / Kali Linux / Raspbian

In Ubuntu swift-bench is provided by swift-bench package.

swift-bench is:

Swift Bench is simple tool for benchmarking OpenStack Swift cluster

OpenStack Object Storage (code-named Swift) creates redundant, scalable object storage using clusters of standardized servers to store petabytes of accessible data. It is not a file system or real-time data storage system, but rather a long-term storage system for a more permanent type of static data that can be retrieved, leveraged, and then updated if necessary. Primary examples of data that best fit this type of storage model are virtual machine images, photo storage, email storage and backup archiving. Having no central “brain” or master point of control provides greater scalability, redundancy and permanence.

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

sudo apt-get -y install swift-bench

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

You can also use apt command to install swift-bench.

sudo apt -y install swift-bench

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

sudo aptitude install swift-bench

Summary

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