1. Download the source code
wget http://wiki.qemu.org/download/qemu-1.0.1.tar.gz
or
http://wiki.qemu.org/Download
2. Configure the source code
./configure [--prefix=PFX] [--target-list="i386-softmmu x86_64-softmmu"]
The prefix argument specifies where to install QEMU; without it QEMU will install to /usr/local by default. Since you do not have root access on CLIC machines, set PFX to be inside your home directory, such as $PWD/install. The target-list argument simply slims down the architectures QEMU will build support for.
3. Run make && make install
You may also install QEMU on your own machine. On Linux, you may need to install the SDL development libraries to get a graphical VGA window. On Debian/Ubuntu, this is the libsdl1.2-dev package. You can find out more information about the version of QEMU we're using here.
Other links:
http://www.cs.columbia.edu/~junfeng/12sp-w4118/tools.html
http://jianggmulab.blogspot.com/search/label/qemu
If you have some problems for make, you may want to install some libraries before do make.
If you have some problems for make, you may want to install some libraries before do make.
Install QEMU on Mac:
I also tried to install it in Mac OS 10.7, and there are some errors for $make
But you always could install it from:
$ sudo port install qemu
or you can install by homebrew
$ which qemu-system-i386
/opt/local/bin/qemu-system-i386
$ qemu-
qemu-ga qemu-io qemu-system-i386
qemu-img qemu-nbd qemu-system-x86_64
But you always could install it from:
$ sudo port install qemu
or you can install by homebrew
Mac (Homebrew) | brew install qemu |
$ which qemu-system-i386
/opt/local/bin/qemu-system-i386
$ qemu-
qemu-ga qemu-io qemu-system-i386
qemu-img qemu-nbd qemu-system-x86_64
No comments:
Post a Comment