下载编译安装:

wget http://download.qemu-project.org/qemu-2.9.0.tar.xz
tar xvJf qemu-2.9.0.tar.xz
cd qemu-2.9.0
./configure
make

过程中出现错误及依赖安装:

1、ERROR zlib check failed

sudo apt-get install zlib1g-dev

2、ERROR: glib-2.12 gthread-2.0 is required to compiler QEMU

sudo apt-get install libglib2.0-dev 

3、/bin/sh: 1:autoreconf: not found

sudo apt-get install autoconf automake libtool

4、VNC server running on '127.0.0.1:5900'

sudo apt-get install libsdl1.2-dev

通过以上方式能顺利的编译通过并安装,编译过程比较长,从21兆的代码编译出3G的文件。

参考:

http://www.qemu.org/download/#source

http://blog.csdn.net/liwugang43210/article/details/44155143

05-15 06:36