Breaking Bits
Search…
Building QEMU on Ubuntu
Install dependencies
$ sudo apt-get build-dep qemu
Download Source
$ git clone git://git.qemu.org/qemu.git
$ cd qemu
$ git submodule update --init --recursive
Configure QEMU
./configure \
--prefix=$(cd ..; pwd)/qemu-user-static \
--static \
--disable-system \
--enable-linux-user
### Or
./configure \
--prefix=$(cd ..; pwd)/qemu-user-static \
--disable-system \
--enable-linux-user
Build and Install QEMU
make -j8
make install
The make install might not work
for i in $(ls | grep user);do sudo cp $i/qemu-* /usr/bin/;done
Copy link