Octave for Debian systems: Difference between revisions

→‎Linuxbrew: moved to Octave for GNU/Linux
(→‎Linuxbrew: import latest installation instructions from linuxbrew.sh)
(→‎Linuxbrew: moved to Octave for GNU/Linux)
Line 27: Line 27:
=== Linuxbrew ===
=== Linuxbrew ===


It is possible to install the current stable version of Octave and any needed dependencies within your home directory, particularly useful if you have an old Linux distribution or do not have root access, using [https://linuxbrew.sh Linuxbrew]:
: ''See [[Octave for GNU/Linux#Linuxbrew]]''
 
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


== Compiling from source ==
== Compiling from source ==
296

edits