Error installing Octave

I am trying to install Octave on OS X. When I run brew install octave I get the following error:

 octave: A LaTeX distribution is required to install. You can install MacTeX distribution from: http://www.tug.org/mactex/ Make sure that "/usr/texbin", or the location you installed it to, is in your PATH before proceeding. 

I downloaded and installed MacTeX, but it still does not work :(

How can i fix this?

+6
source share
2 answers

If you want to avoid dependency on MacTeX, you can install Octave with brew as follows:

 brew install octave --without-docs 
+11
source

"Make sure" / usr / texbin "or the location where you installed it is in your PATH before continuing."

This message may be a hint to you.

You need to set PATH so that Tex can be called from anywhere on your system. Adding the following line to .bash_profile may fix it.

 export PATH=$PATH:/usr/texbin/ 

The reason texlive does not work also has the same reason.

+6
source

Source: https://habr.com/ru/post/969586/


All Articles