3

I have search a lot in different forums to solve this, not found any working for me though.

I have a Raspberry Pi 4. I have made a new image with Ubuntu Desktop 22.04 LTS (RPi 4/400) with Raspberry Pi Imager v1.7.2

After doing sudo apt update I'd like to install VirtualBox. I tried sudo apt install virtualbox but I get

Package 'virtualbox' is not available, but is referred to by another package

Any suggestion would be great! Maybe I am downloading wrong image?

3
  • 3
    virtalbox is available for amd64 architecture, ie. virtualbox | 6.1.32-dfsg-1build1 | jammy/multiverse | source, amd64 but the raspberry pi is armhf or arm64 which is the wrong architecture; thus cannot install/run virtualbox
    – guiverc
    May 29, 2022 at 14:01
  • 2
    Bottom line, VirtualBox won't run on a Raspberry Pi or on your phone.
    – user68186
    May 29, 2022 at 14:03
  • Thanks for the information !!
    – Eric_TS
    May 29, 2022 at 15:50

2 Answers 2

9

virtalbox is available for amd64 architecture, ie.

virtualbox | 6.1.32-dfsg-1build1 | jammy/multiverse | source, amd64

but the raspberry pi is armhf or arm64 which is the wrong architecture; thus cannot install/run virtualbox

You're missing the importance of architecture, ie. what the CPU understands & can run (ie. it won't run if using s390x, ppc64el or other architecture either... it's requires amd64)

0
5

VirtualBox does not run on ARM CPUs like the Raspberry Pi's CPU. However, if what I've read in the past is not misleading me, the Raspberry Pi's CPU does support virtualization, and you should be able to use QEMU to run virtual machines on it. This documentation might help you: https://wiki.qemu.org/Documentation/Platforms/ARM

1
  • VMware ESXi runs on RPi too
    – gronostaj
    May 30, 2022 at 7:01

Not the answer you're looking for? Browse other questions tagged .