The PPA mentioned in this part of answer is inactive since 2018, and it is kept for historical purposes. See this question to create a wrapper script octave, if you don't want to execute the long command flatpak run again and again. Then you can run it from the terminal with the command flatpak run (the GUI version is available too). sudo apt install flatpakįlatpak remote-add -if-not-exists flathub įlatpak install flathub sudo add-apt-repository ppa:devacom/scienceĪlternatively, you can use flatpak to install the latest version of Octave in Ubuntu 18.04+. Singularity pull docker://gnuoctave/octave:6.4.0įlatpak install flathub can add the ppa:devacom/science PPA to install the latest version of Octave (6.4.0, as of January 2021) in Ubuntu 20.04. Podman pull docker.io/gnuoctave/octave:6.4.0
For example, executing system binaries outside the sandbox might be impossible.ĭocker pull docker.io/gnuoctave/octave:6.4.0 Thus limitations in the communication with the underlying system may exist. A common drawback of this approach is, that these solutions are running in some kind of sandbox.
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. Slackware Main article: Octave for Slackware Distribution independent If the above does not work, follow these instructions to set up your system to install packages from EPEL. Yum install octave-devel # development files Red Hat Enterprise/CentOS Main article: Octave for Red Hat Linux systems yum install epel-release Zypper install octave-devel # development files OpenSUSE and SUSE Linux Enterprise Main article: Octave for openSUSE zypper install octave
Gentoo emerge -ask sci-mathematics/octave If this is for some reason not possible, or the available Octave version too old, consider using a distribution independent approach described below or build Octave from source.Īrch Linux Main article: Octave for Arch Linux pacman -S octaveĭebian and Debian-based (such as Ubuntu) Main article: Octave for Debian systems apt install octaveĪpt install liboctave-dev # development filesįedora Main article: Octave for Red Hat Linux systems dnf install octaveĭnf install octave-devel # development files The recommended way for installing Octave on GNU/Linux systems is via each distribution's package installation system. 1.2 Debian and Debian-based (such as Ubuntu).