qemu-7.0.0安装

安装re2c

下载

https://down.24kplus.com/linux/re2c-1.1.1.tar.gz

安装

tar -zxvf re2c-1.1.1.tar.gz

cd re2c-1.1.1

./configure && make && make install

re2c -v

安装ninja

下载

https://codeload.github.com/ninja-build/ninja/tar.gz/refs/tags/v1.10.2

安装

tar -zxvf ninja-1.10.2.tar.gz

cd ninja-1.10.2

cp ./ninja /usr/bin

./configure.py --bootstrap

ninja --version

升级gcc g++

yum install -y http://mirror.centos.org/centos/7/extras/x86_64/Packages/centos-release-scl-rh-2-3.el7.centos.noarch.rpm

yum install -y http://mirror.centos.org/centos/7/extras/x86_64/Packages/centos-release-scl-2-3.el7.centos.noarch.rpm

yum install -y devtoolset-9-gcc-c++

scl enable devtoolset-9 bash

参考:https://blog.csdn.net/b_ingram/article/details/121569398

安装qemu-7.0.0

下载 

https://download.qemu.org/qemu-7.0.0.tar.xz

安装

tar xvJf qemu-7.0.0.tar.xz

cd qemu-7.0.0

./configure

make

make install

参考:https://blog.csdn.net/qq_36287943/article/details/120061500

你可能感兴趣的:(qemu-7.0.0安装)