Contents

How to install virt-manager on Ubuntu-based Linux distros

What is virt-manager

The virt-manager application is a desktop user interface for managing virtual machines through libvirt.


How to install virt-manager on Ubuntu-based Linux distros

1- Type this command in the terminal:

1
sudo apt install qemu-kvm libvirt-clients libvirt-daemon-system bridge-utils libguestfs-tools genisoimage virtinst libosinfo-bin virt-manager

2- Use these commands to add the current user to KVM groups:

1
2
sudo adduser $USER libvirt
sudo adduser $USER libvirt-qemu

3- Open the application from the application menu or the application launcher.

Note

If you get this error:

Error message

From File menu choose Add Connection

Solution picture1

Then choose QEMU/KVM user session, and press Connect

Solution picture2