Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Installed Octave 4.2.1 with brew on MacOS; can't get it to run with a GUI

I installed Octave on my macOS Sierra using Homebrew with the command

brew install octave

and everything installed fine.

When I run Octave, however, it prints version 4.2.1, but I do not get the GUI nor can I force the GUI with octave --force-gui. No error message or warning is generated, the app just starts in the command line.

How do I get Octave to run with a GUI?

like image 277
Natsfan Avatar asked Dec 24 '22 14:12

Natsfan


2 Answers

Run brew uninstall octave to removed the octave executables. Use MacPort instead of homebrew. Run 'port selfupgrade' and then 'port install octave'. It installs octave in the opt/local/bin directory. Type octave and it runs with the GUI. Version 4.2.1 was installed and seems to work fine.

like image 162
Natsfan Avatar answered Jan 17 '23 15:01

Natsfan


Try running the command octave --gui instead of octave --force-gui.

like image 25
Acacio Avatar answered Jan 17 '23 16:01

Acacio