统信uos20 qemu5.1.0编译安装
1、必须安装的packages
sudo apt-get install git libglib2.0-dev libfdt-dev libpixman-1-dev zlib1g-dev
2、其他packages(强烈建议安装)
sudo apt-get install git-email
sudo apt-get install libaio-dev libbluetooth-dev libbrlapi-dev libbz2-dev
sudo apt-get install libcap-dev libcap-ng-dev libcurl4-gnutls-dev libgtk-3-dev
sudo apt-get install libibverbs-dev libjpeg8-dev libncurses5-dev libnuma-dev
sudo apt-get install librbd-dev librdmacm-dev
sudo apt-get install libsasl2-dev libsdl1.2-dev libseccomp-dev libsnappy-dev libssh2-1-dev(可能有问题,不影响后期编译安装过程)
sudo apt-get install libvde-dev libvdeplug-dev libvte-2.90-dev libxen-dev liblzo2-dev
sudo apt-get install valgrind xfslibs-dev
sudo apt-get install libnfs-dev libiscsi-dev
3、下载安装qemu
cd /home
sudo wget https://download.qemu.org/qemu-5.0.1.tar.gz
sudo tar -zxvf qemu-5.1.0.tar.gz
cd qemu-5.1.0
开始编译
sudo ./configure
编译过程中如果有报错,请根据报错解决依赖问题
sudo make
sudo make install