Changes

Jump to navigation Jump to search

Building

18 bytes added, 23:05, 27 October 2019
→‎Tweaks: Overhaul section.
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 octave38myoctave='~$HOME/.octave38my_octave/bin/octave'" >> ~/.bashrc . ~/.bashrc # this will update your bashrc without doing logout and login!
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>octave38myoctave</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}}.
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 ==

Navigation menu