|
Dyalog APT RepositoryThe 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
RepositoryDebian/Raspberry Pi OSFirst 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:
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 APLIf 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/dyalogNote: 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 InstallationVersion 19.0 with RIDE 4.5
Latest 19.0 package: dyalog-unicode-190_19.0.50027_armhf.deb dated 2024-08-21 13:35 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 RIDEIf 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 VersionsInstalling previous versions of RIDEPrevious versions of RIDE
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 APLPrevious versions of Dyalog APL
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 UpgradeUpgrading to the Latest VersionIf 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 RunTo 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 ReadingYou 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. |