2013-04-04 06:35:30 +08:00
|
|
|
Basic Install
|
|
|
|
=============
|
2006-03-29 19:40:14 +08:00
|
|
|
|
2013-04-04 06:35:30 +08:00
|
|
|
For starters, if you just want to run virt-manager/virt-install to test out
|
|
|
|
changes, it can be done from the source directory:
|
2006-03-29 19:40:14 +08:00
|
|
|
|
2013-04-04 06:35:30 +08:00
|
|
|
./virt-manager
|
2006-03-29 19:40:14 +08:00
|
|
|
|
2013-04-04 06:35:30 +08:00
|
|
|
To install the software into /usr/local (usually), you can do:
|
2006-03-29 19:40:14 +08:00
|
|
|
|
2013-04-04 06:35:30 +08:00
|
|
|
python setup.py install
|
2006-03-29 19:40:14 +08:00
|
|
|
|
2012-10-19 03:14:40 +08:00
|
|
|
To build an RPM, you can run:
|
2006-03-29 19:40:14 +08:00
|
|
|
|
2013-05-07 19:51:50 +08:00
|
|
|
python setup.py rpm
|
2006-03-29 19:40:14 +08:00
|
|
|
|
2013-04-04 06:35:30 +08:00
|
|
|
setup.py generally has all the build and install commands, for more info see:
|
2012-07-10 04:20:54 +08:00
|
|
|
|
2013-04-04 06:35:30 +08:00
|
|
|
python setup.py --help-commands
|
|
|
|
python setup.py install --help
|
|
|
|
http://docs.python.org/inst/standard-install.html
|
2015-09-04 00:44:02 +08:00
|
|
|
|
|
|
|
|
|
|
|
Pre-requisite software
|
|
|
|
======================
|
|
|
|
|
|
|
|
virt-manager was ported to GTK3 at the beginning of 2013. Older GTK3
|
|
|
|
or pygobject3 versions likely will not work for running virt-manager.
|
|
|
|
|
|
|
|
Earliest tested versions of major components:
|
|
|
|
|
2016-05-06 22:21:49 +08:00
|
|
|
python >= 2.7
|
2015-09-04 00:44:02 +08:00
|
|
|
gtk3 >= 3.6
|
|
|
|
libvirt-python >= 0.4.0
|
|
|
|
pygobject3 >= 3.4
|
|
|
|
libosinfo >= 0.2.10
|
|
|
|
|
2015-09-24 07:31:16 +08:00
|
|
|
A more detailed dependency list can be found in virt-manager.spec.in.
|
|
|
|
|
|
|
|
On Debian or Ubuntu based distributions, you need to install the
|
|
|
|
gobject-introspection bindings for some depedencies like libvirt-glib
|
|
|
|
and libosinfo. Look for package names that start with 'gir', for example
|
|
|
|
gir1.2-libosinfo-1.0
|