Re: Installing Octave via Home-brew on MacOS

Kai Torben Ohlhus <[email protected]>
Newsgroups gmane.comp.gnu.octave.general
Message-ID <[email protected]>
On 11/17/20 8:42 AM, oleg efimov wrote:
> Dear Octave,
> 
> We are trying to install Octave on macOS into the usr/bin
> 
> And this is via the home brew.
> 
> Could you please let us know how this works with the latest homebrew 
> permission limits on
> 
> The usr/bin
> 
> We are getting this error message because homebrew fails to install 
> octave :
> 
>   /usr/bin/octave: bad interpreter: No such file or directory
> 
> We have tried to run the commands we need to run via the GUI version of 
> OCTAVE.
> 
> However it requires the FreeSurfer dependencies for setting up the paths.
> 
> And this would assume that this would work within macOS usr/bin
> 
> Default directory for Octave.
> 
> If you could help or guide thank you!
> 
> Cheers, Oleg

Dear Oleg,

The Octave project is only little involved into the Homebrew 
development, thus it might be superior to ask at their community for 
help [1] after some more web searching and to check for common issues 
there [2].  "brew doctor" [3] is also a useful command to track 
configuration errors.

For your particular error message, there I can find something similar 
related to a configuration problem (MS Windows line endings on checkout) 
of git on the macOS system in combination with ruby [2].

The Octave 5.2.0 GUI of Homebrew on macOS is VERY unstable and not to 
recommend for any productive work.  Wait in this case for Octave 6 soon 
or use the command-line interface CLI, once installed on your system.

If Homebrew continues to be reluctant, give the Octave.app [4] installer 
a try.

HTH,
Kai

[1] https://github.com/Homebrew/homebrew-core/issues/new/choose
[2] https://docs.brew.sh/Common-Issues
[3] https://docs.brew.sh/Manpage
[4] https://github.com/octave-app/octave-app/releases
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.