Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

qemu installed but not found

3,891 views
Skip to first unread message

Matyas A. Sustik

unread,
Oct 26, 2016, 12:20:09 PM10/26/16
to
I installed qemu with apt-get. However the qemu command is not found. What am I missing? Can anyone point me in the right direction?

Thanks!
-Matyas

--
"Rental activities in which you actively participate are considered passive activities." - IRS

to...@tuxteam.de

unread,
Oct 26, 2016, 1:00:04 PM10/26/16
to
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On Wed, Oct 26, 2016 at 04:00:08PM +0000, Matyas A. Sustik wrote:
> I installed qemu with apt-get. However the qemu command is not found. What
> am I missing? Can anyone point me in the right direction?

I'm assuming you installed "plain qemu", i.e. not qemu-kvm. The package qemu
itself has no executable files (cf [1]). But it depends (among others) on
qemu-user, which should thus have been pulled in, and that one *has* binaries
(cf [2]) -- one for each architecture emulated, i.e. /usr/bin/qemu-aarch64,
/usr/bin/qemu-alpha, and so on. So when you call qemu, you'll have to
decide which architecture you want to emulate.

If you want to emulate the same processor your're running on (and if it
supports hardware virtualization via KVM, consider qemu-kvm: much faster.

hth

[1] https://packages.debian.org/jessie/amd64/qemu/filelist
I'm assuming you have amd64 architecture and stable (jessie).
Adjust URL to taste :)

[2] https://packages.debian.org/jessie/amd64/qemu-user/filelist
The same as in [1] applies if you're not "on" Jessie or amd64.

- -- tomás
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.12 (GNU/Linux)

iEYEARECAAYFAlgQ390ACgkQBcgs9XrR2kaiHACfUftcSP1GgJk61xI+CQmbSvux
oRwAn1t0EQizdmwxGiEpU8cyfIFOSnYk
=389j
-----END PGP SIGNATURE-----

慕 冬亮

unread,
Oct 26, 2016, 1:00:04 PM10/26/16
to



On 10/26/2016 12:00 PM, Matyas A. Sustik wrote:
I installed qemu with apt-get. However the qemu command is not found. What am I missing? Can anyone point me in the right direction?

The qemu command does not exist, but qemu-<architecture> command is there.

mudongliang@debian:~$ qemu-
qemu-aarch64              qemu-ppc64                qemu-system-mips64el
qemu-alpha                qemu-ppc64abi32           qemu-system-mipsel
qemu-arm                  qemu-ppc64le              qemu-system-moxie
qemu-armeb                qemu-s390x                qemu-system-or32
qemu-cris                 qemu-sh4                  qemu-system-ppc
qemu-i386                 qemu-sh4eb                qemu-system-ppc64
qemu-img                  qemu-sparc                qemu-system-ppcemb
qemu-io                   qemu-sparc32plus          qemu-system-s390x
qemu-m68k                 qemu-sparc64              qemu-system-sh4
qemu-microblaze           qemu-system-aarch64       qemu-system-sh4eb
qemu-microblazeel         qemu-system-alpha         qemu-system-sparc
qemu-mips                 qemu-system-arm           qemu-system-sparc64
qemu-mips64               qemu-system-cris          qemu-system-tricore
qemu-mips64el             qemu-system-i386          qemu-system-unicore32
qemu-mipsel               qemu-system-lm32          qemu-system-x86_64
qemu-mipsn32              qemu-system-m68k          qemu-system-xtensa
qemu-mipsn32el            qemu-system-microblaze    qemu-system-xtensaeb
qemu-nbd                  qemu-system-microblazeel  qemu-tilegx
qemu-or32                 qemu-system-mips          qemu-unicore32
qemu-ppc                  qemu-system-mips64        qemu-x86_64


Thanks!
-Matyas

--
"Rental activities in which you actively participate are considered passive activities." - IRS

-- 
My best regards to you.

     No System Is Safe!
     Dongliang Mu

Thomas Schmitt

unread,
Oct 26, 2016, 1:00:05 PM10/26/16
to
Hi,

Matyas A. Sustik wrote:
> the qemu command is not found.

Did you try qemu-system-x86_64 or qemu-system-i386 ?

I get a long list of emulated processors by:

ls /usr/bin/qemu-system-*


Have a nice day :)

Thomas

Sven Bartscher

unread,
Oct 26, 2016, 1:20:04 PM10/26/16
to
On Wed, 26 Oct 2016 16:00:08 +0000
"Matyas A. Sustik" <msu...@gmail.com> wrote:

> I installed qemu with apt-get. However the qemu command is not found. What
> am I missing? Can anyone point me in the right direction?

There are individual commands for each architecture. For example to
start qemu for x86_64 you would run "qemu-system-x86_64".

Regards
Sven

Matyas A. Sustik

unread,
Oct 26, 2016, 1:20:04 PM10/26/16
to
Thanks a lot. I blindly followed instructions at first try, which only mentioned qemu. I found the binary now. Thanks, -Matyas

Frank Miles

unread,
Oct 26, 2016, 1:20:04 PM10/26/16
to
On Wed, 26 Oct 2016 18:20:07 +0200, Matyas A. Sustik wrote:

> I installed qemu with apt-get. However the qemu command is not found. What
> am I missing? Can anyone point me in the right direction?
>
> Thanks!
> -Matyas

I'm not sure what you've got. If it's only the qemu package, and not one
of the many associated packages, you won't have an executable. If this is
the case, you might get a better idea of what other packages you need using
https://packages.debian.org/search?keywords=qemu&searchon=names&suite=stable&section=all

(there are other ways depending on how you manage your packages)

HTH-
0 new messages