virt-v2v-copy-to-local command not found

In this troubleshooting guide we learn how to fix virt-v2v-copy-to-local command not found error message

Introduction

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

virt-v2v-copy-to-local: command not found

or when using sudo you get the following error message

sudo: virt-v2v-copy-to-local: command not found

Solutions to virt-v2v-copy-to-local: command not found

How To Fix virt-v2v-copy-to-local: command not found in Ubuntu / Debian / Kali Linux / Raspbian

In Ubuntu virt-v2v-copy-to-local is provided by virt-v2v package.

virt-v2v is:

Virt-v2v is a program that converts a single guest from a foreign hypervisor to run on KVM. It can read Linux and Windows guests running on VMware, Xen, Hyper-V and some other hypervisors, and convert them to KVM managed by libvirt, OpenStack, oVirt, Red Hat Virtualisation (RHV) or several other targets. It can modify the guest to make it bootable on KVM and install virtio drivers so it will run quickly.

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

sudo apt-get -y install virt-v2v

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

You can also use apt command to install virt-v2v.

sudo apt -y install virt-v2v

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

sudo aptitude install virt-v2v

Summary

In this tutorial we learn how to fix virt-v2v-copy-to-local command not found error in Ubuntu / Debian / Kali Linux or Raspbian distribution.