virt-manager command not found

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

Introduction

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

virt-manager: command not found

or when using sudo you get the following error message

sudo: virt-manager: command not found

Solutions to virt-manager: command not found

How To Fix virt-manager: command not found in Ubuntu / Debian / Kali Linux / Raspbian

In Ubuntu virt-manager is provided by virt-manager package.

virt-manager is:

The virt-manager application is a desktop user interface for managing virtual machines through libvirt. It primarily targets KVM VMs, but also manages Xen and LXC (Linux containers). It presents a summary view of running domains, their live performance & resource utilization statistics. Wizards enable the creation of new domains, and configuration & adjustment of a domain’s resource allocation & virtual hardware. An embedded VNC and SPICE client viewer presents a full graphical console to the guest domain.

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

sudo apt-get -y install virt-manager

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

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

sudo apt -y install virt-manager

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

sudo aptitude install virt-manager

Summary

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