Changes

Jump to navigation Jump to search
18 bytes added ,  07:05, 28 October 2019
→‎Tweaks: Overhaul section.
Line 202: Line 202:  
In order to start the custom build of Octave almost as convenient as the Linux distribution installation of Octave, one can create an alias within {{Path|.bashrc}}:
 
In order to start the custom build of Octave almost as convenient as the Linux distribution installation of Octave, one can create an alias within {{Path|.bashrc}}:
   −
  echo "alias octave38='~/.octave38/bin/octave'" >> ~/.bashrc
+
  echo "alias myoctave='$HOME/my_octave/bin/octave'" >> ~/.bashrc
. ~/.bashrc # this will update your bashrc without doing logout and login!
     −
If you simply enter <code>octave</code>, you'll start your Linux distribution installation of Octave. But when you enter <code>octave38</code>, you'll start your custom build of Octave inside your home directory.
+
Then update your {{Path|.bashrc}} without doing logout and login:
 +
 
 +
source $HOME/.bashrc
 +
 
 +
If you simply enter <code>octave</code>, you'll start your Linux distribution installation of Octave. But when you enter <code>myoctave</code>, you'll start your custom build of Octave inside your home directory.
 +
 
 +
=== Uninstall ===
 +
 
 +
# If you still have the {{Path|.build}} folder, just run <code>make uninstall</code> from it.
 +
# Just delete the install folder, e.g. <code>rm -rf $HOME/my_octave</code>.
 +
 
 +
In any case, don't forget to remove any created ''alias'' entries in {{Path|~/.bashrc}}.
      Line 242: Line 252:     
This way, most ordinary commands like "man octave", "info octave", or launching octave itself, will first explore your own hierachy.
 
This way, most ordinary commands like "man octave", "info octave", or launching octave itself, will first explore your own hierachy.
  −
=== Uninstall ===
  −
  −
# If you still have the {{Path|.build}} folder, just run <code>make uninstall</code> from it.
  −
# Just delete the install folder, e.g. <code>rm -rf $HOME/my_octave</code>.
  −
  −
In any case, don't forget to remove any created ''alias'' entries in {{Path|~/.bashrc}}.
      
== See also ==
 
== See also ==

Navigation menu