How do I install the qemu
command?
I type qemu
and press tab and I get a list of several binaries installed.
qemu-alpha
qemu-arm
...
qemu-x86_64
but no qemu
.
I type man qemu
and it returns the docs as if the command is already installed.
I type qemu
to run the command but it doesn't exist?
No command 'qemu' found, did you mean:
Command 'qtemu' from package 'qtemu' (universe)
Command 'aqemu' from package 'aqemu' (universe)
qemu: command not found
But after installing sudo apt-get install qtemu aqemu
I'm still unable to run qemu
.
I'm just attempting to run the following command qemu -localtime -net user -net nic -m 256 -cdrom minix.iso -hda minix.img -boot d
, for a minix tutorial.
Any help would be appreciated.
Just replace
qemu
withqemu-system-i386
orqemu-system-x86_64
as appropriate (whether you want a 32-bit or 64-bit system, and which ISO you're using).You can also use
aqemu
, which is a graphical (GUI) front-end to qemu.On Ubuntu 12.04 (Precise Pangolin) I have installed the qemu-system package with:
Inside the package it includes:
I have executed an ISO image in an i386 machine with:
In synaptic package manager you can look for
qemu-system
package and install it. It will install the binaries for all supported architectures.In
/usr/bin
, there is notqemu
, but you can useqemu-system-x86_64
,qemu-system-arm
, etc.You can write:
But if you need to use
qemu
, create a link toqemu-system-x86_64
in~/bin/qemu
.