Skip to content

Installing Virt-Manager

How to install Virt-Manager on Windows OS

Installation

To install Virt-Manager on Windows OS, you need to follow these steps:

  1. Go to the official website of Virt-Manager and download the installer appropriates architecture (x86 or x64) of the local device.

  2. Run the downloaded installer by clicking on it with the left mouse button.

  3. Follow the instructions of the Virt-Manager setup wizard.

Launch the VNC console

After completing the installation of Virt-Manager to launch the VNC console, you should:

  1. Go to the Invapi control panel.
  2. Open the Console and IPMI Access section.
  3. Click on the Launch VNC console. button. It will load the console.vv file.

  4. Left-click on the downloaded console.vv file to launch the VNC console.

Installing Virt-Manager on Linux

Installation

Here are instructions for installing Virt-Manager on different distributions:

Ubuntu/Debian:

apt-get install virt-manager

Fedora:

yum install virt-manager

Gentoo:

emerge virt-manager

OpenBSD:

pkg_add virt-manager

Arch Linux/Manjaro:

sudo pacman -S virt-manager

Note

After installation, Virt-Manager will be ready to use. Launch it by running the virt-manager command in the terminal or finding it in the distribution's application menu.

Attention

For Virt-Manager to operate successfully, the local device's BIOS/UEFI must support hardware virtualization.

How to install Virt-Manager on Mac OS

Installation

You need to follow the steps below to install Virt-Manager on Mac OS:

  1. Install the manager of missing packages for macOS:

    /bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"
    

    Note

    Alternative installation methods can be found here.

  2. Connect the repository:

    brew tap justinschuldt/virt-manager/virt-viewer
    
  3. Install the console:

    brew install virt-viewer
    virt-manager -c test:///default
    

    Note

    As a result of the specified actions, the following dependencies will be installed automatically:

    intltool, libtool, jpeg, libtiff, libpng, gdk-pixbuf, atk, libepoxy, freetype, fontconfig, pixman, cairo, fribidi, graphite2, icu4c, harfbuzz, pango, hicolor-icon-theme, gdbm, openssl, readline, sqlite, python@2, gsettings-desktop-schemas, gtk+3, libtasn1, gmp, nettle, libunistring, p11-kit, gnutls, libgpg-error, libgcrypt, gtk-vnc, yajl, libvirt, gobject-introspection, libxml2, libvirt-glib, shared-mime-info, autoconf, bdw-gc, guile, autogen, automake, webp, gd, graphviz, vala, lz4, spice-protocol, libusb, usbredir, bison, gstreamer, orc, gst-plugins-base, xz, gst-libav, glib-networking, libsoup, gst-plugins-good, gst-plugins-bad, gst-plugins-ugly, spice-gtk.

    Attention

    In some cases, the error The requested URL returned error:404. The cause of this error is a change in the distribution download link. Current links to Virt-Manager can be found here.

  4. Run Virt-Manager:

    remote-viewer /path/to/console.vv
    
  5. You can create an application on Automator.app to automate access to Virt-Manager on Mac OS.

    5.1 You must select the option Program as the type of document.

    5.2 You need to insert the "body" of the script /usr/local/bin/remote-viewer «$@» (or /opt/homebrew/bin/remote-viewer "$@"). Input data must be passed as an argument.

    5.3 Then you should save the application. The used name is oVirt-Viewer.app in our case.

  6. Go to the Web-console oVirt and select the required machine:

    Select SPICE and specify to the browser to open vv files with oVirt-Viewer.app.

    A window with the virtual machine console will open after performing these steps:

Information

Based on the suggested solution is the homebrew-virt-manager build.