Compile & Install virt-manager 1.4 on Ubuntu 16.04 and Linux Mint 18

The latest virt-manager supports configuring VMs for OpenGL passthrough for 3D acceleration in virtual machines plus a SPICE console that can make good use of that, which I have been waiting A LOOONG TIME for!

Unfortunately, the default package on the latest Ubuntu stable release is 1.3, and I couldn’t find any available PPA or pre-compiled packages for it, so I had to compile it myself.

Here is what I have done (I have installed QEMU & KVM as well):

sudo apt-get build-dep virt-manager
sudo apt-get install qemu-kvm libvirt-bin ubuntu-vm-builder bridge-utils python-libvirt libgtk-3-dev libvirt-glib-1.0 gir1.2-gtk-vnc-2.0 gir1.2-spice-client-gtk-3.0 libosinfo-1.0 python-ipaddr gir1.2-vte-2.91 python-libxml2 python-requests libvirt-glib-1.0-dev
wget https://virt-manager.org/download/sources/virt-manager/virt-manager-1.4.0.tar.gz
tar -xvzf virt-manager-1.4.0.tar.gz
cd virt-manager-1.4.0/
sudo python setup.py install

Don’t forget to log out and then back in, since your user have been added to the libvirtd group.

And there you go:

Screenshot from 2016-08-14 23-28-11

Sources:

These instructions work perfectly on Linux Mint 18 as well.

Enjoy!

About SoCRaT

Software Engineer, OSS & Linux Geek
This entry was posted in Linux, Ubuntu and tagged , , , , , . Bookmark the permalink.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s