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:

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, write it down below, or you can contact me directly by my E-mail account.

If you want to get notified when we post a new content by adding our RSS feed to your feed list, or by joining our Telegram channel.