Octave for GNU/Linux: Difference between revisions

→‎Linuxbrew: copy from Octave for Debian systems
(→‎Linuxbrew: copy from Octave for Debian systems)
Line 86: Line 86:


     # pacman -S octave
     # pacman -S octave
=Linuxbrew=
Octave is provided by the [https://linuxbrew.sh/ Linuxbrew] package manager, which is a cross-distribution packaging system. It is possible to install the current release of Octave or the development version and any needed dependencies within your home directory. This is particularly useful if you have an older Linux distribution or if you do not have root access. Octave can be installed with the commands:
    sh -c "$(curl -fsSL https://raw.githubusercontent.com/Linuxbrew/install/master/install.sh)"
    test -d ~/.linuxbrew && eval $(~/.linuxbrew/bin/brew shellenv)
    test -d /home/linuxbrew/.linuxbrew && eval $(/home/linuxbrew/.linuxbrew/bin/brew shellenv)
    test -r ~/.bash_profile && echo "eval \$($(brew --prefix)/bin/brew shellenv)" >>~/.bash_profile
    echo "eval \$($(brew --prefix)/bin/brew shellenv)" >>~/.profile
    brew install octave


[[Category:Installation]]
[[Category:Installation]]
[[Category:GNU/Linux]]
[[Category:GNU/Linux]]
296

edits