QEMU3.1.0安装手记
- 操作系统:CentOS7.6
- 纯空白机器
- 先yum update
安装流程
1. 下载
[root@localhost ~]# wget https://download.qemu.org/qemu-3.1.0.tar.xz
2. 解压
[root@localhost ~]# tar -xvf qemu-3.1.0.tar.xz
3. 配置
//prefix可设置安装路径,默认路径为/usr/local
[root@localhost ~]# cd /qemu-3.1.0
[root@localhost qemu-3.1.0]# ./configure
成功配置后显示内容
[root@localhost qemu-3.1.0]# ./configure
Install prefix /usr/local
BIOS directory /usr/local/share/qemu
firmware path /usr/local/share/qemu-firmware
binary directory /usr/local/bin
library directory /usr/local/lib
module directory /usr/local/lib/qemu
libexec directory /usr/local/libexec
include directory /usr/local/include
config directory /usr/local/etc
local state directory /usr/local/var
Manual directory /usr/local/share/man
ELF interp prefix /usr/gnemul/qemu-%M
Source path /root/qemu-3.1.0
GIT binary git
GIT submodules
C compiler cc
Host C compiler cc
C++ compiler c++
Objective-C compiler cc
ARFLAGS rv
CFLAGS -O2 -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 -g
QEMU_CFLAGS -I/usr/include/pixman-1 -I$(SRC_PATH)/dtc/libfdt -pthread -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -fPIE -DPIE -m64 -mcx16 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -Wstrict-prototypes -Wredundant-decls -Wall -Wundef -Wwrite-strings -Wmissing-prototyp