Raspberry Pi 4 and 64bit OS - version

For Raspberry Pi specific issues .. more general issues will appear in UNIX and Linux

Raspberry Pi 4 and 64bit OS - version

Postby bilekflo on Thu Jan 07, 2021 1:31 pm

Hi everybody!

I wonder if it is possible to run Dyalog APL interpreter on a 64bit Raspberry PI OS.
on a Raspberry PI4.
Can I use also Ubuntu 20.04 as OS or must it be Raspberry OS only?

Kind regards,
Florian
bilekflo
 
Posts: 12
Joined: Wed Mar 12, 2014 10:07 pm

Re: Raspberry Pi 4 and 64bit OS - version

Postby AndyS|Dyalog on Fri Jan 08, 2021 12:07 pm

It's odd, but it's never occurred to me to run 32 bit Dyalog on 64-bit Raspbian - we've just been waiting for a solid 64-bit Raspbian before we have a go at porting to it !

And given that 32-bit Dyalog runs on 64-bit Windows and AIX, and used to on Linux when we produced 32-bit Dyalog for Linux, then there's a pretty good chance that it will. You might need some 32-bit support libraries though.

I'll add it to the list of things to do in the not too distant future.

We have however never tried Dyalog on Pi on anything but Raspbian, which is what we build on. So it is less likely to work on Ubuntu on Pi.
User avatar
AndyS|Dyalog
 
Posts: 250
Joined: Tue May 12, 2009 6:06 pm

Re: Raspberry Pi 4 and 64bit OS - version

Postby meijerjo on Fri Jan 07, 2022 1:47 am

A year later, but may still be of interest.

I can confirm running 32-bit Dyalog 18, on a Raspberry Pi 4 under the 64-bit OS Ubuntu Server 20.04, after installing as Dyalog/RIDE as follows:

Dyalog 18.0 install on RPi4/Ubuntu 20.04 64-bit OS:

Ran the three install commands as per Dyalog installation documentation:
wget -O - http://packages.dyalog.com/dyalog-apt-key.gpg.key | sudo apt-key add -
CODENAME=$(lsb_release -sc)
echo "deb http://packages.dyalog.com ${CODENAME} main" | sudo tee /etc/apt/sources.list.d/dyalog.list

Then
edited /etc/apt/sources.list.d/dyalog.list, and changed 'focal' to 'buster'
(i.e. the contents, after edit, are: deb http://packages.dyalog.com buster main)

Then installed a few cross-architecture libraries, and dyalog:
sudo apt-get install libc6:armhf libstdc++6:armhf
sudo apt-get install libncurses5-dev:armhf libncursesw5-dev:armhf
sudo apt-get install libxtst-dev:armhf
sudo apt-get install dyalog-unicode

And /bin/dyalog now runs.

Then, installed Ride, from github: https://github.com/Dyalog/ride
(used install Option 2: download latest release from repository)

And wrote an "APL" bash script launcher, to launch RIDE:
#!/bin/bash
/opt/ride-4.3/launcher --no-sandbox

And so...

mylogin@mypi:~$ uname -a
Linux mypi 5.4.0-1047-raspi #52-Ubuntu SMP PREEMPT Thurs Jan 06 08:16:38 UTC 2022 aarch64 aarch64 aarch64 GNU/Linux

mylogin@mypi:~$ cat /etc/issue
Ubuntu 20.04.3 LTS \n \l

mylogin@mypi:~$ ./APL

Can also connect to the RPi4 remotely from RIDE on Win10, using "/bin/dyalog" as the Start executable.
John
meijerjo
 
Posts: 5
Joined: Thu Jan 06, 2022 4:29 pm


Return to Raspberry Pi

Who is online

Users browsing this forum: No registered users and 0 guests