When attempting to install deno on my Raspberry Pi, I get the following:
$ curl -fsSL https://deno.land/x/install/install.sh | sh -s v0.4.0
Unsuported architecture armv7l. Only x64 binaries are available.
Is support for 32-bit ARM processors something we can eventually expect?
arm64 was introduced in #1846, which was really done by someone wanting to contribute it, an arm32 build likely would need to be done the same way.
@jkdmyrs me also faced the same issue.
I would like to get builds for arm32+arm64 into the wild, but we had quite a few issues with testing last time.
Without this it means Deno won't run on Raspberry Pi Zero, Zero W, 1, or 2...
Source: https://en.wikipedia.org/w/index.php?title=Raspberry_Pi§ion=12#Specifications
Update: Ubuntu now has an official ARM64 version with Unity. Raspbian also has a beta version out of a long overdue x64 faster version.
We certainly would love to produce arm builds. In order for this to happen the test suite needs to run in CI - presumably in travis under qemu.
We had some tentative support for arm64 a while ago, but it was removed [for various reasons]. Have a look for a good starting point.
@afinch7 Where did you get to with an arm build?
rusty_v8 (deno's major dependency) now has aarch64 builds in CI: https://github.com/denoland/rusty_v8/commit/ffdf69bd0074bb0b03aceeb76b521ab869d13a2f
So we're a bit closer to an arm build here but I think it will still take quite a bit of work to actually get deno's CI working.
Deno for ARM 32bit (usually Raspberries) are really appreciated.
Maybe it can even be bundled standardly with Debian/Raspbian instead of Node.js. Because Node.js doesn't has official 32bit ARM support. Debian ports it themselves, which is sadly still 2 version behind the official 64bit counterpart and also can cause problems for NPM (well according to their warnings).
Deno for ARM 32bit (usually Raspberries) are really appreciated.
Maybe it can even be bundled standardly with Debian/Raspbian instead of Node.js. Because Node.js doesn't has official 32bit ARM support. Debian ports it themselves, which is sadly still 2 version behind the official 64bit counterpart and also can cause problems for NPM (well according to their warnings).
You can install nvm and have any version of node working , I'm using it and had absolutely no problem
Sitting from Termux, architecture "armv71". What are safe build instructions for 32-bit ARM to try out right now?
@vintprox There are none... 32bit ARM is on it's way out quickly... Pi 3 and 4 both support ARM64, Ubuntu Unity was ported to ARM64, Raspbian is fairly stable... Ubuntu Core and Server are rock solid on ARM64 for Raspberry Pi. Treat those devices as vintage/arduino style hardware... The last holdout for me is the RPi Zero... which should get an update soon
There are none... Arm 32 is on it's way out quickly
If I interpreted it correctly, that's sad. Wanted to try out Deno on Android badly, but it turns out I'm sticking with JS for real fast prototyping until I get PC. 🤷♂️
I got a Surface Pro X and for some reason the first thing I wanted to do with it was learn Deno. I'm so disappointed.
choco install deno
💔
@vintprox @716green ... The Samsung Galaxy S4 was the first to make the jump to a 64bit ARM processor. That came out, spring 2013. Google Play effectively ended support for ARM v7a processors in 2019. You may need to flash a post Lolipop version of Android to make it run in 64 bit though... released in 2014.
The Surface Pro X is an amazing computer with one of the fastest ARM64 capable processors out there... it can run deno without issue. User agent sniffers might be giving you bad packages... you want the x86 or ARM64 versions of apps NOT the "x64" or "x86_64" or "amd64" versions, which all refer to the same non-ARM, Intel x686 derived, instruction set which is incompatible with the emulator Microsoft uses. Intel x64 emulation for ARM64 will be supported "in the first half of 2021" after Microsoft finishes adding support to their emulation engine.
@vintprox @716green ... The Samsung Galaxy S4 was the first to make the jump to a 64bit ARM processor. That came out, spring 2013. Google Play effectively ended support for ARM v7a processors in 2019. You may need to flash a post Lolipop version of Android to make it run in 64 bit though... released in 2014.
The Surface Pro X is an amazing computer with one of the fastest ARM64 capable processors out there... it can run deno without issue. User agent sniffers might be giving you bad packages... you want the x86 or ARM64 versions of apps NOT the "x64" or "x86_64" or "amd64" versions, which all refer to the same non-ARM, Intel x686 derived, instruction set which is incompatible with the emulator Microsoft uses. Intel x64 emulation for ARM64 will be supported "in the first half of 2021" after Microsoft finishes adding support to their emulation engine.
Where can I get a package that's compatible with the SQ1 ARM64 processor in my Surface Pro X? The recommended install is through Chocolatey from what I've read.
I'd like to start using Deno instead of Node.js for servers on my Raspberry Pi 2B, and the fact that arm32 is still missing continues to be a roadblock. I can't upgrade at the moment, and the Raspberry Pi 2 is still in production so I see no reason for this to not be supported.
Most helpful comment
Deno for ARM 32bit (usually Raspberries) are really appreciated.
Maybe it can even be bundled standardly with Debian/Raspbian instead of Node.js. Because Node.js doesn't has official 32bit ARM support. Debian ports it themselves, which is sadly still 2 version behind the official 64bit counterpart and also can cause problems for NPM (well according to their warnings).