Changes

Jump to navigation Jump to search
23 bytes removed ,  21:44, 16 January 2012
no edit summary
Line 41: Line 41:  
> ln -s /Applications/Octave.app/Contents/Resources/octave  /usr/bin/octave    # this is a good way of inserting octave in your PATH so it can be started from the command line
 
> ln -s /Applications/Octave.app/Contents/Resources/octave  /usr/bin/octave    # this is a good way of inserting octave in your PATH so it can be started from the command line
   −
... #  Now to make sure that /usr/bin is in your path do:
+
Now to make sure that /usr/bin is in your path do:
    
> env
 
> env
   −
... # there should be several lines of text in response including something like :  PATH=/opt/local/bin:/opt/local/sbin:/usr/local:/bin:/sbin:'''/usr/bin:'''/usr/sbin:/usr/texbin:/usr/local/bin  -- check to see that /usr/bin: is included
+
this should produce several lines of text in response including something like :  PATH=/opt/local/bin:/opt/local/sbin:/usr/local:/bin:/sbin:'''/usr/bin:'''/usr/sbin:/usr/texbin:/usr/local/bin  -- check to see that /usr/bin: is included
    
If it is, octave and gnuplot should work fine now.  If not, we need to go to the .bashrc file.  This is a(n invisible) file that sets things that are important to you up every time you open a new terminal window.  Type this at the prompt:
 
If it is, octave and gnuplot should work fine now.  If not, we need to go to the .bashrc file.  This is a(n invisible) file that sets things that are important to you up every time you open a new terminal window.  Type this at the prompt:
Line 52: Line 52:  
> open .bashrc                  # opens it in your editor (probably Textedit)
 
> open .bashrc                  # opens it in your editor (probably Textedit)
   −
... #  type this in the editor:
+
type this in the editor:
    
PATH=$PATH:/usr/bin;
 
PATH=$PATH:/usr/bin;
 
export PATH
 
export PATH
   −
... # save and close
+
save and close
    
Things should work now ....... Open a new terminal window and type 'octave'  then 'sombrero(24)' at the prompt.
 
Things should work now ....... Open a new terminal window and type 'octave'  then 'sombrero(24)' at the prompt.
11

edits

Navigation menu