APL & Array programming

Installing Dyalog on Debian 11

I’ve logged my steps installing it; hope this helps.

Short story

You may need to install the packages libtinfo5 and dotnet-runtime-3.1 via apt

Log

Downloading the .DEB package file from https://www.dyalog.com/download-zone.htm

sudo dpkg -i linux_64_18.2.45405_unicode.x86_64.deb

If I do dyalog --help however:

/opt/mdyalog/18.2/64/unicode/dyalog: error while loading shared libraries: libtinfo.so.5: cannot open shared object file: No such file or directory

ldd /opt/mdyalog/18.2/64/unicode/dyalog indeed confirms: libtinfo.so.5 => not found

locate libtinfo.so.5 returns nothing, but locate libtinfo.so.6 does.

apt search libtinfo shows that major version 5 (legacy) is available. Should be fine to install side by side with 6. Let’s try

libtinfo-dev/stable 6.2+20201114-2 amd64
  transitional package for libncurses-dev

libtinfo5/stable 6.2+20201114-2 amd64
  shared low-level terminfo library (legacy version)

libtinfo6/stable,now 6.2+20201114-2 amd64 [installed]
  shared low-level terminfo library for terminal handling

If I do dyalog --help however:

CLEAR WSIt was not possible to find any compatible framework version                                                                                                                                                      
The framework 'Microsoft.NETCore.App', version '3.1.0' (x64) was not found.
  - The following frameworks were found:
      6.0.6 at [/usr/share/dotnet/shared/Microsoft.NETCore.App]

You can resolve the problem by installing the specified framework and/or SDK.

The specified framework can be found at:
  - https://aka.ms/dotnet-core-applaunch?framework=Microsoft.NETCore.App&framework_version=3.1.0&arch=x64&rid=debian.11-x64
Init failed: 0x80008096

If you do not have dotnet already installed https://dotnet.microsoft.com/en-us/download explains how to set up .NET on various platforms including Linux. after that:

sudo apt install dotnet-runtime-3.1

dyalog then starts OK (in TTY mode).

3 Likes