convoluted

Using Dyalog APL in Debian Linux and Derivatives

Using Dyalog APL in Debian Linux and its Derivatives

by Rito Ghosh

I use Pop OS 22.04 LTS edition. But this tutorial should work with all Debian-based Linux distributions.

Using Dyalog APL in Windows is trivial, but with Linux, there are one or two extra steps.

NOTE: Dyalog APL runs on Linux only on the Terminal (TTY mode).


Step-1: Download the Dyalog APL Set-up File

  • Navigate to the official download page. Then you will have to accept their terms.

  • Then you can either choose to register yourself with Dyalog or download the product unregistered.

  • The free license is good for everything outside of commercial use.

  • Download the .DEB file from the page.


Step-2: Install

  • Install the downloaded DEB file. Either let your package manager handle this via GUI by double clicking or use dpkg. You might need elevated permissions.

Step-3: Install Missing Libraries

It is very likely that you will miss one or two libraries that are required.

You will most likely miss libtinfo.so.5. You can installing it using apt.

sudo apt update && sudo apt install -y libtinfo5

(source)

This will install the missing library.

You might have another missing library dotnet-runtime-3.1. I did not face it. If you do, just installing it via apt will solve this problem. See more: jmp's post on fast.ai forums.


Step-4: Installing Keyboard Support

APL uses a lot of special characters, "glyph"s. And you need to type them to be able to use APL.

This is trivially easy.

Before you start Dyalog APL, you need to run the following on terminal:

setxkbmap -layout us,apl -variant ,dyalog -option grp:switch

(see explanation here on aplwiki)

This command sets the Right Alt for typing glyphs rather than the Control key.


Now, you are ready to work with APL.

asciicast


I will add new sections if needed.

#programming #linux #apl #tutorials

- 2 toasts