Installing MacOS X Bundle: Difference between revisions

Jump to navigation Jump to search
add "chmod 755 ..."
(→‎Install gnuplot & Aquaterm: Uh, if it doesn't work, how about we say that at the beginning of the paragraph, hmm?)
(add "chmod 755 ...")
Line 27: Line 27:


= Running Octave and gnuplot from a Terminal =
= Running Octave and gnuplot from a Terminal =
These instructions assume you have already placed Octave and Gnuplot into the Applications folder.


Starting Octave from the command line requires one further step to inform bash (your shell) where the Octave binary is located.  This is accomplished through the bash initialization file ~/.bashrc (the leading "." means it's normally invisible in the finder).  To run Octave and gnuplot from a terminal, symbolic links will be used.
Starting Octave from the command line requires one further step to inform bash (your shell) where the Octave binary is located.  This is accomplished through the bash initialization file ~/.bashrc (the leading "." means it's normally invisible in the finder).  To run Octave and gnuplot from a terminal, symbolic links will be used.
Line 33: Line 35:
** {{Codeline|sudo touch /usr/local/bin/gnuplot}}
** {{Codeline|sudo touch /usr/local/bin/gnuplot}}
** {{Codeline|sudo ln -s /Applications/gnuplot.app/Contents/Resources/bin/gnuplot /usr/local/bin/gnuplot}}
** {{Codeline|sudo ln -s /Applications/gnuplot.app/Contents/Resources/bin/gnuplot /usr/local/bin/gnuplot}}
** {{Codeline|sudo chmod 755 /usr/local/bin/gnuplot}}
** {{Codeline|sudo touch /usr/local/bin/octave}}
** {{Codeline|sudo touch /usr/local/bin/octave}}
** {{Codeline|sudo ln -s /Applications/Octave.app/Contents/Resources/bin/octave /usr/local/bin/octave}}
** {{Codeline|sudo ln -s /Applications/Octave.app/Contents/Resources/bin/octave /usr/local/bin/octave}}
** {{Codeline|sudo chmod 755 /usr/local/bin/octave}}
* Test that everything is ok.
* Test that everything is ok.
** In a Terminal window type the command below.
** In a Terminal window type the command below.
364

edits

Navigation menu