If there’s no such file, just create one yourself. Put the following configurations into ~/.octaverc. Alternatively, you could restart your teminal. To reload the config within your terminal. 1Įxport FONTCONFIG_PATH=/opt/X11/lib/X11/fontconfig Simply put it here where you should add this line into your ~/.bash_profile. It can be fixed by following this stack overflow post. Warning: could not match any font: *-normal-normal-10
Warning: ft_render: unable to load appropriate font To me, I still got the following warnings after the steps above. Now you should be able to use octave /path/to/file anywhere. If you want, alias this to octave by adding this line to your /.bashprofile: alias octave'open -a 'Octave''. Install gnuplotĪs gnuplot will automatically be installed with octave, but without support for X11. You can use the following to open Octave with a file: open -a 'Octave' /path/to/file. The option –without-docs above is to suppress errors due to missing Tex installation.
And then re-import the packages as follows 1 Import the scientific computing packages with 1Īnd follow any suggestions to fix the problem. This will have mac install a pre-compiled version which is very fast. If you cannot wait, do xcode-select –install before install gcc. It may take quite some time to install gcc from source. Install gcc with (this is for gfortran).If you do not have Xcode or Homebrew installed yet, please refer to Google Here are the steps I adopted to successfully install Octave.
#How to install octave on mac with home download
One may download the Octave-Forge bundle from sourceforge here which however is large and also a bit out of date.Īlternatively, if you use homebrew to do this, please be ware ofĪ few traps. Installing Octave on the latest OSX can be error prone.