Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save Danilo-Araujo-Silva/a5a463e62be79eb7105441d88463cc91 to your computer and use it in GitHub Desktop.
Save Danilo-Araujo-Silva/a5a463e62be79eb7105441d88463cc91 to your computer and use it in GitHub Desktop.
Install Octave with gui and gnuplot on macOS Mojave
# Install homebrew, if is not already installed:
/usr/bin/ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"
# Update and upgrade homebrew, if needed:
brew update && brew upgrade
# Install XCode (it is a long download, it is an Octave dependency)
# Go to Apple Store and install.
# Install Aquaterm
# Download and install it from: https://sourceforge.net/projects/aquaterm/
# Install gnuplot with some extra parameters
brew install gnuplot --with-aquaterm --with-qt
# Finally install octave
brew install octave --with-qt
# Add the following some configurations in your ~/.octaverc file:
cat <<EOT >> ~/.octaverc
setenv('GNUTERM','qt')
graphics_toolkit("gnuplot")
EOT
# Finanlly we are done! Ufa ;)
@Prototypemax
Copy link

Hi!
I tried brew install gnuplot --with-aquaterm --with-qt and i got the following error:

Error: invalid option: --with-aquaterm. Do you know why?

Thank you very much :)
PM

@vivek4002
Copy link

vivek4002 commented Mar 4, 2019

I am Getting the same error.. any help appreciated
Thanks,
Vivek

@mehdi-saber
Copy link

same error...

@mathuias
Copy link

solutions?

@Danilo-Araujo-Silva
Copy link
Author

I can confirm that the -with-aquaterm option is not working in my current system anymore.

Unfortunately, I don't know, for now, how to solve this issue.

Are there any options related with aquaterm when you try brew info gnuplot? Since I'm not with a fresh system anymore I can't confirm, it says I already have something installed.

Anyway, maybe something has changed in the way to install octave and maybe the Octave wiki could clarify this, but I'm not sure.

@dylpickles
Copy link

It could be related to this post that the Homebrew devs wrote. I've been trying to use "--with-qt"
but I believe that doesn't work either for the same reasons.
Here's a link to the post:Homebrew/homebrew-core#31510

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment