Open main menu

Wikibooks β



Clone sources from QEMU git.

 $ git clone git://
 Cloning into 'qemu'...
 remote: Counting objects: 131834, done.
 remote: Compressing objects: 100% (29320/29320), done.
 remote: Total 131834 (delta 104345), reused 129302 (delta 102090)
 Receiving objects: 100% (131834/131834), 45.42 MiB | 300 KiB/s, done.
 Resolving deltas: 100% (104345/104345), done.
 Checking out files: 100% (2849/2849), done.
 $ cd qemu/
 $ ./configure
 $ make
 $ sudo make install

As per qemu documentation:

QEMU supports build in the root directory as well as out-of-tree builds. It is recommended to do out-of-tree builds so user can select a specific build depending on the target usage.



 $ ./configure --help

to get a list of options, including the choices of architectures to target. If no options are selected, configure prepares all architectures, which is a very long process.