virt-install command not found
In this troubleshooting guide we learn how to fix virt-install command not found error message
Introduction
When you run more command in linux terminal / console, you get the following error message
virt-install: command not found
or when using sudo you get the following error message
sudo: virt-install: command not found
Solutions to virt-install: command not found
How To Fix virt-install: command not found in Ubuntu / Debian / Kali Linux / Raspbian
In Ubuntu virt-install is provided by virtinst package.
virtinst is:
This package contains some command line utilities to create and edit virtual machines:
- virt-clone: cloning existing inactive guests; it copies the disk images, and defines a config with new name, UUID and MAC address pointing to the copied disks
- virt-install: provision operating systems into new virtual machines
- virt-xml: easily edit libvirt domain XML using virt-install’s command line options
To fix this problem, we can install more using the command below.
sudo apt-get -y install virtinst
This command might take some time to finish depending on your machine internet connection.
You can also use apt command to install virtinst.
sudo apt -y install virtinst
Or if you have aptitude installed you can use the following command.
sudo aptitude install virtinst
Summary
In this tutorial we learn how to fix virt-install command not found error in Ubuntu / Debian / Kali Linux or Raspbian distribution.