QEMU Installation

15 Dec


Hello everyone,
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.
$ ./configure
And start the compilation.
$ make
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
$ make
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

1 Comment

Posted by on December 15, 2012 in Linux


One response to “QEMU Installation

Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Google photo

You are commenting using your Google account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

%d bloggers like this: