Octave for Debian systems: Difference between revisions

Jump to navigation Jump to search
→‎Linuxbrew: import latest installation instructions from linuxbrew.sh
No edit summary
(→‎Linuxbrew: import latest installation instructions from linuxbrew.sh)
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 [http://linuxbrew.sh 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]:


  ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Linuxbrew/install/master/install)"
  sh -c "$(curl -fsSL https://raw.githubusercontent.com/Linuxbrew/install/master/install.sh)"
  echo 'export PATH="$HOME/.linuxbrew/bin:$PATH"' >>~/.bash_profile
  test -d ~/.linuxbrew && eval $(~/.linuxbrew/bin/brew shellenv)
  brew install homebrew/science/octave
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

Navigation menu