How to compile GNU Octave with OpenBLAS on macOS

Gnu-octave-logo The repository homebrew/science is dead, long live dpo/homebrew-openblas! We switched from Apples proprietary Accelerate framework to OpenBLAS, so free your numbers and compile Octave as follows

brew tap dpo/openblas
Pin the repository
brew tap-pin dpo/openblas
Now, install a development snapshot of octave (with GUI and java)
brew install dpo/openblas/octave --HEAD --with-qt --with-java
MacOS and Linux users with HiDPI screen will enjoy improved plotting thanks to the fixes of jpswensen for bug #49053.

Octave 4.2 released

bildschirmfoto-2016-11-15-um-21-48-24Finally, GNU Octave 4.2 was released (also see the new shiny website). It comes with odeset, odeget and some odeXX compatible time steppers that have been developed with contributions within recent GSOC and SOCIS projects.

macOS users can get the release already today by using homebrew as usual

brew install octave

How to build GNU Octave with Qt5 on the Mac

1503512The graphical user interface of Octave 4.0 can only be compiled with Qt4. Homebrew is dropping 4.x support and moving towards 5.x. Several Octave dependencies have already been updated (e.g. Qscintilla2, see e.g. this issue. However, the upcoming Octave 4.2 (release is scheduled for September 2016) will have full Qt5 as discussed here.

The standard installation uses the command line interface. If you need Octave with graphical user interface then this should work
brew update 
brew upgrade #to get the latest qscintilla
brew install octave --with-gui --HEAD
Update: The post has been edited on Aug 20 since the new formula is now available in homebrew’s science repository.

TeX Live 2016 released

ctan_lion_350x350The new TeX Live 2016 was just released on 5 June 2016 with a few new features.
TeX Live is an easy way to get up and running with the TeX document production system. It provides a comprehensive TeX system with binaries for most flavors of Unix, including GNU/Linux, and also Windows. It includes all the major TeX-related programs, macro packages, and fonts that are free software, including support for many languages around the world. Continue reading →