As of June 2022, Octave 6.2.0 appears to have a broken dependency:
octave
/usr/libexec/octave/6.2.0/exec/x86_64-pc-linux-gnu/octave-gui: error while loading shared libraries: libQt5Core.so.5: cannot open shared object file: No such file or directory
So I tried the following:
sudo apt remove octave
sudo apt upgrade
sudo apt autoremove
sudo apt update
sudo apt upgrade
sudo apt install octave
Same issue. I think Debian Bullseye only supports QT 6. Any ideas? I should mention this is Debian running on Windows using WSL
cat /etc/debian_version
11.3
cat /etc/os-release
PRETTY_NAME="Debian GNU/Linux 11 (bullseye)"
NAME="Debian GNU/Linux"
VERSION_ID="11" VERSION="11 (bullseye)"
VERSION_CODENAME=bullseye