Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Installing Rakudo on Android with ARM processor architecture

I am trying to install Rakudo on my Android with armv7l processor architecture using Termux.

I tried compiling from source, but it didn't work. Then someone pointed out the Termux user its-pointless and his package for this, but that package does not work on my phone.

How can I run Raku on my phone while it is offline? I'm open to solutions not using Termux.

Termux on SSH results: Termux on SSH

u0_a74@localhost ~/rakudo [100]> pkg show rakudo -a

Package: rakudo Version: 2020.05 Maintainer: Termux members @termux Installed-Size: 37.7 MB Depends: moarvm Homepage: https://rakudo.org Download-Size: 5062 kB APT-Manual-Installed: yes APT-Sources: https://its-pointless.github.io/files/24 termux/extras arm Packages Description: Perl 6 implementation on top of Moar virtual machine

Package: rakudo Version: 2020.01-1 Maintainer: Fredrik Fornwall @fornwall Installed-Size: 93.1 MB Depends: moarvm Homepage: https://rakudo.org Download-Size: 10.9 MB APT-Sources: https://its-pointless.github.io/files/24 termux/extras arm Packages Description: Perl 6 implementation on top of Moar virtual machine

u0_a74@localhost ~/rakudo> raku

CANNOT LINK EXECUTABLE "raku": cannot locate symbol "ffi_type_double" referenced by "/data/data/com.termux/files/usr/lib/libmoar.so"...

u0_a74@localhost ~/rakudo> raku --version

CANNOT LINK EXECUTABLE "raku": cannot locate symbol "ffi_type_double" referenced by "/data/data/com.termux/files/usr/lib/libmoar.so"...

u0_a74@localhost ~/rakudo> raku --help

CANNOT LINK EXECUTABLE "raku": cannot locate symbol "ffi_type_double" referenced by "/data/data/com.termux/files/usr/lib/libmoar.so"...

u0_a74@localhost ~/rakudo> uname -a

Linux localhost 3.4.42-g3d041de #1 SMP PREEMPT Sat Dec 24 19:56:29 PST 2016 armv7l Android

like image 299
gabriel80546 Avatar asked Sep 07 '21 15:09

gabriel80546


People also ask

How do I get the ARM64 architecture of my Android phone?

ARM64 on ARM64 device: OK. If your Android phone is not mentioned in the table above, you can use an app named Droid hardware info to identify the correct architecture of your phone and select the respective APK to download on your phone. Download Droid Hardware info.

How to identify correct Android architecture for APK for Android devices?

Identify Correct Android Architecture for APK [arm arm64] Basically, these are keywords which represent the internal processor and the operating system running on it. The ARM is for the devices running on 32 bit ARM processor and operating system. Whereas, ARM64 is for the devices running on a 64-bit operating system.

Can I install 32-bit apps on an ARM64 device?

As the ARM64 aka x64 architecture is backward compatible so it’s fine to install ARM aka 32-bit apps on it. ARM on ARM device: OK. ARM64 on arm device: Not compatible. ARM on ARM64 device: OK. ARM64 on ARM64 device: OK.

What are the different types of processors used in Android phones?

What’s ARM, ARM64, and x86? As of now, there are three main CPU architectures used in Android smartphones – ARM, ARM64, and x86. Out of these three, ARM is the most common as it is properly optimized for battery consumption.


Video Answer


1 Answers

Does it have to be on Termux? I have successfully installed Raku on Android via UserLand, using Debian SSH. sudo apt-get install rakudo works.

like image 88
Max Kapusta Avatar answered Sep 20 '22 23:09

Max Kapusta