In this post I’m going to describe you how to install QEMU (Version: 1.3.0). The latest release for the time being. I don’t want to waste time on the definition of QEMU.
Let’s get started by installing the required libraries first.
$ sudo apt-get install libsdl1.2-dev
$ sudo apt-get install autoconf
$ sudo apt-get install libgtk2.0-dev
SDL is an API that provides low-level access to audio, keyboard, mouse etc. via OpenGL and 2D video frame buffer.
QEMU uses SDL to display VGA output. By adding the –vnc option, QEMU is capable of listening on VNC display and redirect VGA display over the VNC session.
If SDL library is not installed QEMU will default to VNC
Let’s clean the compiled output files, if any, before the compilation.
$ make clean
Now execute the configuration file.
And start the compilation.
Since the compilation will be done for all kinds of architectures it will take a while. You can as well compile QEMU for your specific architecture. In this case you must configure it for your architecture. Such as:
$ ./configure –target-list=arm-softmmu
Now that we’re done with the compilation without any errors let’s move on to installation.
$ sudo make install
In order to add some new features to QEMU let’s install kvm-extres package
$ sudo apt-get install qemu-kvm-extras
Let’s check the version of QEMU to confirm it was installed succesfully.
$ qemu-system-arm –version
QEMU emulator version 1.3.0, Copyright (c) 2003-2008 Fabrice Bellard