Rate This Document
Findability
Accuracy
Completeness
Readability

Installing QEMU

  1. Obtain the QEMU installation package.
    1. Download the QEMU installation package on the local host.

      For the download address of the QEMU installation package, see Table 2.

    2. Upload the source package to the server.
  2. Decompress the QEMU installation package.
    tar -xf qemu-4.2.1.tar.bz2
  3. Go to the qemu-4.2.1 directory.
    cd qemu-4.2.1/
  4. Modify the environment variable.
    export PKG_CONFIG_PATH=/usr/local/lib/pkgconfig:/usr/local/share/pkgconfig
  5. Configure, compile, and install QEMU.
    ./configure --prefix=/usr/local/qemu --enable-debug --enable-vnc --enable-kvm  --enable-spice  --enable-gnutls
    make && make install