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

This article was last updated on 2021-08-15, the content may be out of date.

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:

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:

sudo adduser $USER libvirt
sudo adduser $USER libvirt-qemu

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


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

If you have any questions, leave your question down below, and you can contact me directly using my E-mail account or our Matrix room.

You can get notified when we create a new content from our RSS feed, or from our Matrix room.