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
|
|
|
|
======================
|
|
|
|
|
2016-05-18 05:07:48 +08:00
|
|
|
A detailed dependency list can be found in virt-manager.spec.in
|
2015-09-04 00:44:02 +08:00
|
|
|
|
2016-05-18 05:07:48 +08:00
|
|
|
Minimum version requirements of major components:
|
2015-09-04 00:44:02 +08:00
|
|
|
|
2016-05-06 22:21:49 +08:00
|
|
|
python >= 2.7
|
2016-05-18 05:07:48 +08:00
|
|
|
gtk3 >= 3.14
|
|
|
|
libvirt-python >= 0.6.0
|
|
|
|
pygobject3 >= 3.14
|
2015-09-04 00:44:02 +08:00
|
|
|
libosinfo >= 0.2.10
|
|
|
|
|
2015-09-24 07:31:16 +08:00
|
|
|
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
|