ubuntu20.04 根据源码安装 qemu

参考:https://www.qemu.org/download/#source

0. 如果之前使用 apt 安装了qemu,先使用如下命令把qemu卸载

sudo apt --purge remove "qemu-system-*"

 

 

1. 

git clone https://gitlab.com/qemu-project/qemu.git
cd qemu
git submodule init
git submodule update --recursive
./configure
make




2. make完了之后,使用软连接把 qemu/build/ 下感兴趣的东西做个软连接到 /usr/local/bin 里

 

posted @ 2023-03-26 21:53  yinhuachen  阅读(91)  评论(0编辑  收藏  举报