README.rst: Replace the installation instructions with link to compiling.html.

Remove the installation instructions from README.rst, and
add the link to compiling.html.

Signed-off-by: Liao Pingfang <liao.pingfang@zte.com.cn>
Reviewed-by: Michal Privoznik <mprivozn@redhat.com>
This commit is contained in:
Liao Pingfang 2020-05-18 19:59:22 +08:00 committed by Michal Privoznik
parent be611aa4de
commit 6866a324ab

View File

@ -45,31 +45,9 @@ and ``COPYING`` for full license terms & conditions.
Installation Installation
============ ============
Libvirt uses the GNU Autotools build system, so in general can be built Instructions on building and installing libvirt can be found on the website:
and installed with the usual commands, however, we mandate to have the
build directory different than the source directory. For example, to build
in a manner that is suitable for installing as root, use:
::
$ mkdir build && cd build
$ ../configure --prefix=/usr --sysconfdir=/etc --localstatedir=/var
$ make
$ sudo make install
While to build & install as an unprivileged user
::
$ mkdir build && cd build
$ ../configure --prefix=$HOME/usr
$ make
$ make install
The libvirt code relies on a large number of 3rd party libraries. These will
be detected during execution of the ``configure`` script and a summary printed
which lists any missing (optional) dependencies.
https://libvirt.org/compiling.html
Contributing Contributing
============ ============