Using a distribution independent approach is particularly useful if you have an older GNU/Linux distribution or if you do not have root access on your system. A common drawback of this approach is, that these solutions are running in some kind of sandbox. Thus limitations in the communication with the underlying system may exist. For example, executing system binaries outside the sandbox might be impossible.
== Flatpak ==
snap install octave --beta
== Docker ==
Octave is available as a Docker container. This can be used to easily run Octave in a well-defined, minimal GNU/Linux container. It can be used as a standard interactive Octave shell or to run scripts, but it may be mostly of interest to developers for use in automated build, test, or CI environments.
docker pull mtmiller/octave
docker run mtmiller/octave octave --version
The image is hosted at [https://hub.docker.com/r/mtmiller/octave mtmiller/octave on Docker Hub].