An unofficial Debian Installer for Pinebook Pro
#3
(12-04-2019, 05:53 AM))Arwen Wrote: @danielt, Perhaps you know.

Is there a way to create an ARM multi-arch / multi-lib version of any Linux distro?

Before AMD's 64 bit architecture became common, most Linux distro that support x86_64, were multi-library. After that transistion period was over, and x64 become dominant, some like me never bothered to disable x86 compatibility.

I think it is different for different distros since when all the fluff is stripped away it basically means careful packaging (to allow parallel install of libraries by using different directories) and a package manager that can cope with multiple architectures. Thus the answer may change depending on your choice of distro.

Debian is pretty good in that regard. For example with the benefit of qemu-user I am currently running a arm64 base system but enriched with some amd64 libraries (just enough to run the x86-64 binaries found in rkbin/tools/ and permit me to build u-boot on Pinebook Pro). These days Debian is well separated so you can do all sorts of crazy things with qemu and binfmt to allow alien binaries to run. The only problem I've seen is that you can't run pair armhf and i386 as multi-arch because they both use the same filename for their dynamic linker.

More practically I also did a simple test on an SD card freshly installed with my installer to try running an armhf 32-bit browser within an OS that is mostly arm64 (epiphany is installed to stop the removal of firefox from dragging away too much with it):

Code:
sudo apt install epiphany-browser
sudo apt remove firefox-esr
sudo dpkg --add-architecture armhf
sudo apt update
sudo apt install firefox-esr:armhf

Finally be aware that even if you can't get multi-arch working as you would like it to then you can probably use containers to work around it. For example if you are running a 64-bit kernel then you can host a arm64 LXC containers in armhf distros and vice versa.
PineTime: wasp-os and MicroPython, Pinebook Pro:  Debian Bullseye


Messages In This Thread
RE: An unofficial Debian Installer for Pinebook Pro - by danielt - 12-04-2019, 09:27 AM
First boot - by JaredT66 - 05-19-2020, 09:49 AM
RE: First boot - by carletes - 05-19-2020, 01:35 PM

Possibly Related Threads…
Thread Author Replies Views Last Post
  [Pinebook Pro/Mobian/XFCE4] can fix touch or screen in greeter not both SynthGal 0 124 05-31-2024, 09:42 AM
Last Post: SynthGal
  Official Debian support moonwalkers 63 54,895 05-16-2024, 11:00 PM
Last Post: rempfer
  Debian on Pinebook Pro u974615 7 1,814 03-31-2024, 10:11 AM
Last Post: u974615
  Pinebook Pro upgrading from the factory image yamsoup 12 2,413 02-22-2024, 04:02 PM
Last Post: tllim
  Help installing Manjaro on eMMC of Pinebook Pro pine4546464 4 2,500 12-13-2023, 07:22 PM
Last Post: trillobite
  Need Help Recovering Manjaro /boot Contents on Pinebook Pro calinb 6 2,652 12-11-2023, 03:47 AM
Last Post: calinb
  Gentoo on Pinebook Pro RELEASE jannik2099 54 92,607 12-08-2023, 11:25 PM
Last Post: tllim
  Boot Order in Pinebook Pro food 8 1,733 11-23-2023, 07:37 AM
Last Post: KC9UDX
  install debian on pbp jsch 7 4,410 11-22-2023, 04:22 PM
Last Post: TRS-80
  How to mainline kernel on daniel thompson's debian installer? hellojack 14 8,118 09-07-2023, 09:38 PM
Last Post: Der Geist der Maschine

Forum Jump:


Users browsing this thread: 1 Guest(s)