Dyalog Ltd

Minchens Court
Minchens Lane
Bramley
Hampshire
RG26 5BH
United Kingdom

Phone:
+ 44 (0) 1256 830 030

Fax:
+ 44 (0) 1256 830 031

e-mail:
support@dyalog.com

web:
www.dyalog.com

 





 

Dyalog APT Repository

The Dyalog APT Repository contains installation packages for Dyalog APL for the Raspberry Pi running Raspberry Pi OS. For more information, see https://dyalog.com/dyalog/raspberry-pi.htm.

Table of Contents



Repository

Debian/Raspberry Pi OS

First you will need to set your Raspberry Pi up to connect to our public repository, This will allow you to keep your APL installation up to date with new releases.

The following are the supported Operating System codenames for 32-bit Dyalog APL:

  • Raspberry Pi OS (Debian)
    • buster or later (ARMHF) - Hardware Float: this is required for Dyalog 18.0 and later
    • jessie or later (ARMHF) - Hardware Float: this is required for Dyalog 17.1

Dyalog APL does not run on 64-bit Raspberry Pi O/S.

For Bookworm, the revision of the version of Dyalog APL that you are installing must be at least 48479.

wget -O - https://packages.dyalog.com/dyalog-apt-key.gpg.key | sudo apt-key add -
CODENAME=$(lsb_release -sc)
echo "deb https://packages.dyalog.com ${CODENAME} main" | sudo tee /etc/apt/sources.list.d/dyalog.list

Please note: if you update the operating system on your Pi, then you should re-run these last two commands so that /etc/apt/sources.list.d/dyalog.list accurately reflects the codename of the version of the distribution that you are running. Be aware that on Bookworm, uname -m now returns aarch64 rather than armv7l.



RIDE and Dyalog APL

If you have installed RIDE before you install Dyalog APL, then the installation process for Dyalog APL will add two icons to your desktop, one for starting Dyalog APL with a RIDE front end, and the other (which is also created if RIDE is not installed) which starts Dyalog APL in a terminal window.

Note: RIDE is only supported on a Raspberry Pi 2 or higher; RIDE is not supported on Pi 0 or 1 models.



Multiple Versions and /usr/bin/dyalog

Note: If you have multiple version of Dyalog installed, running "dyalog" from the terminal will run the latest version.

You should NOT edit /usr/bin/dyalog, but rather run

sudo update-alternatives --config dyalog

To see all the installed versions of Dyalog APL, run

sudo apt-cache search dyalog


Installation

Version 19.0 with RIDE 4.5

Latest 19.0 package: dyalog-unicode-190_19.0.50027_armhf.deb dated 2024-08-21 13:35
Latest RIDE 4.5 package: ride-4.5_4.5.4097_armhf.deb dated 2024-03-01 09:25

To install version 19.0 with the RIDE GUI Front-End run the following commands:

sudo apt-get update
sudo apt-get install dyalog-unicode

Version 19.0 Without RIDE

If you prefer to install Dyalog APL without RIDE, You can install with the following commands

sudo apt-get update
sudo apt-get install dyalog-unicode-190


Installing Older Versions

Installing previous versions of RIDE

Previous versions of RIDE

  • RIDE 4.4: ride-4.4_4.4.3687_armhf.deb dated 2022-03-10 10:46, which was released with Dyalog 18.2
  • RIDE 4.3: ride-4.3_4.3.3463_armhf.deb dated 2022-01-18 14:17, which was released with Dyalog 18.0
  • RIDE 4.2: ride-4.2_4.2.3437_armhf.deb dated 2019-10-02 11:31, which was released with Dyalog 17.1

To install older RIDEs, run one of the following:

sudo apt-get install ride-4.4
sudo apt-get install ride-4.3
sudo apt-get install ride-4.2

Installing previous versions of Dyalog APL

Previous versions of Dyalog APL

  • dyalog-unicode-182: dyalog-unicode-182_18.2.50027_armhf.deb dated 2024-08-21 13:34
  • dyalog-unicode-180: dyalog-unicode-180_18.0.50027_armhf.deb dated 2024-08-21 13:35
  • dyalog-unicode-171: dyalog-unicode-171_17.1.50027_armhf.deb dated 2024-08-21 13:35

To install any previous version of Dyalog APL, run

sudo apt-get install dyalog-unicode-<version>

where <version> is one of the three digit numbers in the list above. For example

sudo apt-get install dyalog-unicode-170


Upgrade

Upgrading to the Latest Version

If you already have Dyalog APL installed you can run the following two commands to upgrade to the latest version:

sudo apt-get update
sudo apt-get dist-upgrade


Run

To run Dyalog APL you can select it from the Programming menu If you have installed the pre-release version this will start Dyalog APL within a RIDE session. Otherwise it will start a terminal with Dyalog APL running inside. Running "dyalog" from a terminal will load a Dyalog session in your terminal.

Further Reading

You can download the Dyalog APL For Raspberry Pi guide from here. This will help you install Dyalog APL on your Raspberry Pi and also has some example code. This is also shipped with Dyalog APL for the Raspberry Pi in /opt/mdyalog/<version>/32/unicode/help/ where there is a host of useful documentation.

We have some blog posts here: https://www.dyalog.com/blog/category/raspberry-pi/ which you may like to read to see some of the things that we've been up to.