Installing QEMU
- Obtain the QEMU installation package.
- Download the QEMU installation package on the local host.
For the download address of the QEMU installation package, see Table 2.
- Upload the source package to the server.
- Download the QEMU installation package on the local host.
- Decompress the QEMU installation package.
tar -xf qemu-4.2.1.tar.bz2
- Go to the qemu-4.2.1 directory.
cd qemu-4.2.1/
- Modify the environment variable.
export PKG_CONFIG_PATH=/usr/local/lib/pkgconfig:/usr/local/share/pkgconfig
- Configure, compile, and install QEMU.
./configure --prefix=/usr/local/qemu --enable-debug --enable-vnc --enable-kvm --enable-spice --enable-gnutls make && make install
Parent topic: QEMU 4.2.1 Installation Guide (CentOS 8.1)