virt-manager/INSTALL.md
Pino Toscano 61b75ba0fb Handle AppStream files using gettext
Starting from version 0.19.6, gettext has native capabilities to extract
from, and merge back translations in AppStream files.

Hence, use xgettext to extract messages, and msgfmt to create AppStream
files with translations; because of this, there no more need to prefix
with underscore the tags to be translated.

Update the gettext required version in INSTALL.md.

Reviewed-by: Cole Robinson <crobinso@redhat.com>
Signed-off-by: Pino Toscano <ptoscano@redhat.com>
2020-07-11 14:59:56 -04:00

1.3 KiB

Basic Install

For starters, if you just want to run virt-manager/virt-install to test out changes, it can be done from the source directory:

./virt-manager

To install the software into /usr/local (usually), you can do:

./setup.py install

To build an RPM, you can run:

./setup.py rpm

setup.py generally has all the build and install commands, for more info see:

Pre-requisite software

A detailed dependency list can be found in virt-manager.spec.in file.

Minimum version requirements of major components:

  • gettext >= 0.19.6
  • python >= 3.4
  • gtk3 >= 3.22
  • libvirt-python >= 0.6.0
  • pygobject3 >= 3.22
  • libosinfo >= 0.2.10
  • gtksourceview >= 3

On Debian or Ubuntu based distributions, you need to install the gobject-introspection bindings for some dependencies like libvirt-glib and libosinfo. Look for package names that start with 'gir', for example gir1.2-libosinfo-1.0.

Optional software

virt-manager can optionally use libguestfs for inspecting the guests. For this, python-libguestfs >= 1.22 is needed.