vmdb2 command not found

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

Introduction

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

vmdb2: command not found

or when using sudo you get the following error message

sudo: vmdb2: command not found

Solutions to vmdb2: command not found

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

In Ubuntu vmdb2 is provided by vmdb2 package.

vmdb2 is:

vmdb2 will be a successor of vmdebootstrap. It will create disk images for virtual machines and real hardware, with partitioning, and a boot loader, and a Debian installation.

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

sudo apt-get -y install vmdb2

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

You can also use apt command to install vmdb2.

sudo apt -y install vmdb2

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

sudo aptitude install vmdb2

Summary

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