Page 1 of 1

How to install KVM in Solus?

Posted: Sat Jan 20, 2018 4:09 pm
by Bahaa
I use this command to install KVM :

Code: Select all

$ sudo eopkg install qemu-kvm libvirt-bin ubuntu-vm-builder bridge-utils ia32-libs-multiarch
but it gives me an error:
ImportError: failed to find libmagic. Check your installation

Re: How to install KVM in Solus?

Posted: Sat Jan 20, 2018 5:37 pm
by Craig-toyoracer
libmagic is found in the SC -> python-magic , install and hopefully works.:)

Re: How to install KVM in Solus?

Posted: Fri Feb 02, 2018 3:24 am
by clauded
To have KVM working (assuming your processor supports virtualization):

Code: Select all

sudo eopkg install libvirt
sudo eopkg insatll virt-manager
Next you'll need to enable and start

Code: Select all

sudo systemctl enable libvirtd.service
sudo systemctl start libvirtd.service
Finally, add your user to the libvirt group :

Code: Select all

sudo usermod -a -G libvirt <your_username>
newgrp libvirt

You can also go with gnome-boxes instead of virt-manager

Re: How to install KVM in Solus?

Posted: Fri Feb 02, 2018 3:50 am
by sunnyflunk
Bahaa wrote:
Sat Jan 20, 2018 4:09 pm
I use this command to install KVM :

Code: Select all

$ sudo eopkg install qemu-kvm libvirt-bin ubuntu-vm-builder bridge-utils ia32-libs-multiarch
but it gives me an error:
ImportError: failed to find libmagic. Check your installation
kvm is supported in the kernel and qemu. If you have qemu installed, you can use kvm. Run this rather than qemu-kvm which is basically what the script in the package does

Code: Select all

qemu-system-x86_64 -enable-kvm

Re: How to install KVM in Solus?

Posted: Sat Feb 03, 2018 4:04 pm
by Bahaa
Thank you All .. you saved my day