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 Raspbian. For more information, see http://dyalog.com/dyalog/raspberry-pi.htm.

Table of Contents



Repository

Debian/Raspbian

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:

  • Raspbian (Debian)
    • wheezy (ARMHF) - Hardware Float: suitable for Dyalog 15.0 and earlier
    • jessie or later (ARMHF) - Hardware Float: this is required for Dyalog 16.0 and later

Please Note: We do not support ARMEL (Software Float) as we consider the performance of software float to be unacceptable on the Raspberry Pi.

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

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.



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 17.1 with RIDE 4.2

Latest 17.1 package: dyalog-unicode-171_17.1.38411_armhf.deb dated 2020-05-21 15:04
Latest RIDE 4.2 package: ride-4.2_4.2.3437_armhf.deb dated 2019-10-02 11:31

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

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

Version 17.1 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-171


Installing Older Versions

Installing previous versions of RIDE

Previous versions of RIDE

  • RIDE 4.1: ride-4.1_4.1.3366_armhf.deb dated 2018-07-23 12:13, which was released with Dyalog 17.0
  • RIDE 4.0: ride-4.0_4.0.2860_armhf.deb dated 2017-08-31 15:11, which was released with Dyalog 16.0

To install older RIDEs, run one of the following:

sudo apt-get install ride-4.1
sudo apt-get install ride-4.0

Installing previous versions of Dyalog APL

Previous versions of Dyalog APL

  • dyalog-unicode-170: dyalog-unicode-170_17.0.38411_armhf.deb dated 2020-05-21 15:04
  • dyalog-unicode-160: dyalog-unicode-160_16.0.38128_armhf.deb dated 2020-03-17 13:25
  • dyalog-unicode-150: dyalog-unicode-150_15.0.37074_armhf.deb dated 2019-10-09 11:16
  • dyalog-unicode-141: dyalog-unicode-141_14.1.34122_armhf.deb dated 2018-08-31 16:18
  • dyalog-unicode-140: dyalog-unicode-140_14.0.30774_armhf.deb dated 2017-08-17 12:00

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.