It looks like flatpak then actually is the one to use.
Do you want to install it? [Y/n]: Y
ipc network pulseaudio wayland x11 dri
file access  dbus access 
 host, xdg-config/kdeglobals:ro
 com.canonical.AppMenu.Registrar, org.freedesktop.Flatpak
ID Branch Op Remote Download
1. [✓] org.freedesktop.Platform.GL.default 20.08 i flathub 105.8 MB / 106.4 MB
2. [✓] org.freedesktop.Platform.GL.nvidia-470-63-01 1.4 i flathub 223.3 MB / 223.4 MB
3. [|] org.freedesktop.Platform.VAAPI.Intel 20.08 i flathub < 11.6 MB
4. [ ] org.freedesktop.Platform.openh264 2.0 i flathub < 1.5 MB
5. [ ] org.kde.Sdk.Locale 5.15 i flathub < 345.8 MB (partial)
6. [ ] org.kde.Sdk 5.15 i flathub < 774.8 MB
7. [ ] org.octave.Octave stable i flathub < 139.5 MB
But it looks like a lot of stuff more is needed than for typical installation case of octave.
The compatibility for octave 6.3.0 is possibly not solved with typical LinuxMint packages.
Or is possibly impossible to solve with standard LinuxMint20.2 packages.
Linux mint itself ‘says’:
Command 'octave' not found, but can be installed with:
sudo snap install octave # version 6.3.0, or
sudo apt install octave # version 5.2.0-1
See 'snap info octave' for additional versions.
And after using flatpak the shell can not find the octave binary to run…
If I’m right the binary is in this strange directory:
jari@cosmo:/var/lib/flatpak/app/org.octave.Octave/x86_64/stable/445155c2768aecc9cd6a179bc453383f588969f83a4a6f80c7b5555dcd7b76df/files/bin$ source ./octave-6.3.0
bash: source: ./octave-6.3.0: cannot execute binary file
It seems to work now if I add this link:
lrwxrwxrwx 1 root root 46 Sep 22 13:27 /usr/bin/octave -> /var/lib/flatpak/exports/bin/org.octave.Octave
Not sure if correct.
Some module looks failing to get found, but it might not be an issue:
Gtk-Message: 13:33:48.737: Failed to load module "xapp-gtk3-module"
Qt: Session management error: None of the authentication protocols specified are supported
And soon after installation it is found that the command as below:
octave:2> system("cd ~/bin; pingconv pingstat.txt");
sh: line 1: pingconv: command not found
Does not operate with new octave (6.3.0) version at all.
This all worked well with older 5.2.0 -version.
It looks some minor adjustment to get it work with 6.3.0 such as:
octave:3> system("cd ~/bin; ./pingconv pingstat.txt");
I could not see why this is needed (to add the “./” in front of the command’s name).
Earlier octave and in normal shell it works without this “./”.
Maybe there is a lot of ‘adjustments’ to the operation that is needed, even though
it might cause issues to existing programs operation and behavior.
I wonder what it requires if the parenthesis “()” in function call are changed to square brackets “”?
atan(x) -> atan[x]
The latter though looks much harder to type on my keyboard.