x86 programs on Linux ARM (M1/M2)

Discussion in 'Linux Virtual Machine' started by ChrisParallel, Aug 12, 2022.

?

Do you use Linux for ARM?

  1. Yes

    2 vote(s)
    50.0%
  2. Yes, but I face relevant limitations

    2 vote(s)
    50.0%
  3. No, I would like but it cannot do what I want

    0 vote(s)
    0.0%
  4. No

    0 vote(s)
    0.0%
  1. ChrisParallel

    ChrisParallel Bit poster

    Messages:
    7
    Hello,

    Linux/Unbuntu for Arm Is nice and has a good performance.
    Also many programs are available for the Arm version or you can compile it for by your own.

    But many programs are not available for ARM and for some even no compilable source is there.

    Could a x86/x64 emulation be installed by default to run that programs on it?
    As I understand, this should work:
    https://github.com/slimsam4u/Exagear-Desktop-ARM64/blob/master/Installation.md
    But its complicated for normal users to get there.
     
  2. MatthewR20

    MatthewR20 Most valuable person

    Messages:
    237
    Best Answer
  3. brad-x

    brad-x Junior Member

    Messages:
    17
    @ChrisParallel There will be incoming support for running x64 binaries via Rosetta2 in macOS Ventura, which Parallels may support (not an official statement). In the meantime, it's possible to run x86_64 binaries on ARM64 using a combination of binfmt_misc and qemu-user-static - an example of the inverse is here: https://codepyre.com/2019/12/arming-yourself/

    Typically just installing these two binaries will let you then set up a chroot or container with an x86_64 filesystem into which you can install and run executables. This will not perform as quickly as native (or Rosetta2), but it will run most things.
     
  4. MatthewR20

    MatthewR20 Most valuable person

    Messages:
    237
    Best Answer

Share This Page