build-openstack-debian-image command not found

In this troubleshooting guide we learn how to fix build-openstack-debian-image command not found error message

Introduction

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

build-openstack-debian-image: command not found

or when using sudo you get the following error message

sudo: build-openstack-debian-image: command not found

Solutions to build-openstack-debian-image: command not found

How To Fix build-openstack-debian-image: command not found in Ubuntu / Debian / Kali Linux / Raspbian

In Ubuntu build-openstack-debian-image is provided by openstack-debian-images package.

openstack-debian-images is:

This package contains a script which is helpful for creating images to be used with the OpenStack IaaS cloud software suite. It uses only tools available within Debian.

This package contains the simple image build script.

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

sudo apt-get -y install openstack-debian-images

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

You can also use apt command to install openstack-debian-images.

sudo apt -y install openstack-debian-images

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

sudo aptitude install openstack-debian-images

Summary

In this tutorial we learn how to fix build-openstack-debian-image command not found error in Ubuntu / Debian / Kali Linux or Raspbian distribution.