How do I install qemu?
Solution 1
Just replace qemu
with qemu-system-i386
or qemu-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.
Solution 2
On Ubuntu 12.04 (Precise Pangolin) I have installed the qemu-system package with:
sudo apt-get install qemu-system
Inside the package it includes:
/usr/bin/qemu-system-cris
/usr/bin/qemu-system-mips64
/usr/bin/qemu-system-mipsel
/usr/bin/qemu-system-sparc
/usr/bin/qemu-system-sparc64
/usr/bin/qemu-system-sh4
/usr/bin/qemu-system-ppc64
/usr/bin/qemu-system-ppc
/usr/bin/qemu-system-m68k
/usr/bin/qemu-system-arm
/usr/bin/qemu-system-ppcemb
/usr/bin/qemu-system-sh4eb
/usr/bin/qemu-system-microblaze
/usr/bin/qemu-system-mips64el
/usr/bin/qemu-system-mips
I have executed an ISO image in an i386 machine with:
qemu-system-i386 -net user -cdrom my_iso.iso
Solution 3
In /usr/bin
, there is not qemu
, but you can use qemu-system-x86_64
,qemu-system-arm
, etc.
You can write:
qemu-system-x86_64 -localtime -net user -net nic -m 256 -cdrom minix.iso -hda minix.img -boot d
But if you need to use qemu
, create a link to qemu-system-x86_64
in ~/bin/qemu
.
Solution 4
In synaptic package manager you can look for qemu-system
package and install it. It will install the binaries for all supported architectures.
Related videos on Youtube
William
450 MB/s is normal for read speeds; you'll find that many/most SSDs on the market are rated by their manufacturers around that speed, which is slightly more than 3 Gb/s (450 * 8 = 3300 = 3.3 Gb/s) and the 100 MB/s is also pretty normal for budget SSDs smartgit How to map the spacebar to Ctrl while still preserving the original behavior? How do I get my Mac to boot from an Ubuntu USB key? Ubuntu pdftoppm converting pdf to png Ubuntu Customization Kit UEFI How can I repair grub? (How to get Ubuntu back after installing Windows?) When do I need linux? gparted, wget, https://launchpad.net/ubuntu/+source/unity/4.22.0-0ubuntu1 Making Ctrl+C copy text in gnome-terminal? Make terminal use pageup/pagedown instead of shift-pageup/shift-pagedown? What unix applications actually use the PgDn and PgUp? less top vi screen byobu Things installed gparted gradle maven xterm gradle mercurial exfat-utils exfat-fuse apktool couldn't be found tranmission grub commands grub-update
Updated on September 18, 2022Comments
-
William over 1 year
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 runqemu
.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.
-
Lekensteyn about 10 yearsRecent versions of Ubuntu (at least 14.04) have a
qemu
symlink that defaults toqemu-system-i386
. That can be changed withsudo update-alternatives --config qemu
.
-
-
Forty-Two over 11 yearsdoesn't work because programs like aqemu are setup to work with qemu but not qemu-arm etc... qemu-launcher wants to call qemu-system-arm but only qemu-arm exists and whatever version of qemu that ubuntu is installing is totally funky and does not work like the normal version . any site I go to with instructions on running qemu from the terminal don't work with ubuntu qemu and qemu-arm etc gives me a help page whenever I try to use it.
-
Alexis Wilke over 11 yearsWell... aqemu gives you the command line that it tries to use and you can copy / paste that and change the qemu with the proper emulator. Or if you always use the i386 then create a softlink so qemu starts qemu-system-i386. But in 12.04 the window shell doesn't get resized automatically 8-(
-
Requist over 9 yearsThis does not really add more to the question then the answers already given?
-
Saeid87 over 8 yearsqemu-system-x86_64 packege can not be located (I am on 14.04)