Raspberry Pi binaries? #5841
|
namely armhf linux. Are there plans to release such? |
Replies: 6 comments 12 replies
|
We provide arm64 linux builds in the releases page ( armhf seems a bit niche for us to provide pre-built releases IMO. #2171 talks about adding a snap for Helix though which might cover armhf if the snapcraft build service still can provide armhf builders. |
|
lol, armhf if niche, indeed, – so is terminal text editors, isn't it? :-). But seriously, armhf is still the default for sold-today raspberry pi hardware. aarch64 is an option, but far from common or recommended. Raspberry has a strong backward compatibility tradition so you can flip SD-cards from one hardware to another from 1st gen to most recent. When choosing an editor, muscle memory is a thing and so I'd prefer to have the editor on all the machines. And quite some are raspberry pis as I work also in an educational context where those are the kids workstations. Snap isn't an option, I think. Binaries are. Maybe someone from the community wants to contribute them. |
|
e.g. the alpine folks seem to do what I am out for https://pkgs.alpinelinux.org/packages?name=helix&arch=armhf P.S.: I was at no time interested in lectures on toolchains. No matter how convenient or interesting they may appear to you. They are not for me. I am interested in an editor. |
|
http://dl-cdn.alpinelinux.org/alpine/latest-stable/community/armhf/helix-22.08.1-r0.apk is a .tar.gz with usr/bin/hx. |
|
@pascalkuthe just to give you an idea why I said 'i dread the rust toolchain' earlier on. After running $ rustc --version
error: command failed: 'rustc': No such file or directory (os error 2)things look fishy, if you ask me: |
|
In case it's helpful to anyone else, here's my recent experience ( On a Raspberry Pi Model 3B (not 3B+) running the latest OS (Raspberry Pi OS (32-bit), 21 Apr 2026 release based on Debian 13 (trixie)), building helix from source on the Pi was maxing out both memory and swap, so I dove into cross-compiling. This is what worked for me on my x86_64 machine running Pop!_OS 22.04 LTS (should work on modern-ish Debian/Ubuntu as well): Tooling (assuming you already have rustup target add armv7-unknown-linux-gnueabihf
sudo apt update
sudo apt install gcc-arm-linux-gnueabihfNow, in the [target.armv7-unknown-linux-gnueabihf]
linker = "arm-linux-gnueabihf-gcc"We're now ready to build. From the HELIX_DISABLE_AUTO_GRAMMAR_BUILD=1 cargo build --profile opt --target armv7-unknown-linux-gnueabihf --package helix-term --locked(I skipped the grammars because I already had all but a couple failed grammars on my Pi due to initial source build attempts) You can find the binary at PS - FWIW, the source build worked fine on my Raspberry Pi 4 Model B Rev 1.5 running the 64 bit Trixie-based Debian. |
We provide arm64 linux builds in the releases page (
helix-<version>-aarch64-linux.tar.xz). From what I understand, some of the recent Raspberry Pi boards run arm64 (ref: https://www.raspberrypi.com/news/raspberry-pi-os-64-bit/).armhf seems a bit niche for us to provide pre-built releases IMO. #2171 talks about adding a snap for Helix though which might cover armhf if the snapcraft build service still can provide armhf builders.