Ubuntu 22.04 下从源码编译安装 QEMU 8.2.0-rc2

sudo apt-get install git libglib2.0-dev libfdt-dev libpixman-1-dev zlib1g-dev ninja-build

sudo apt-get install git-email
sudo apt-get install libaio-dev libbluetooth-dev libcapstone-dev libbrlapi-dev libbz2-dev
sudo apt-get install 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 libsdl2-dev libseccomp-dev libsnappy-dev libssh-dev
sudo apt-get install libvde-dev libvdeplug-dev libvte-2.91-dev libxen-dev liblzo2-dev
sudo apt-get install valgrind xfslibs-dev 

sudo apt-get install libnfs-dev libiscsi-dev

sudo apt-get install flex bison


sudo pip install sphinx==5.3.0 -i https://pypi.tuna.tsinghua.edu.cn/simple some-package
sudo pip install sphinx_rtd_theme==1.1.1 -i https://pypi.tuna.tsinghua.edu.cn/simple some-package

简单测试

bin/debug/native/x86_64-softmmu/qemu-system-x86_64 -L pc-bios

你可能感兴趣的:(ubuntu,linux,qemu)