1,852
edits
(→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 | echo "alias myoctave='$HOME/my_octave/bin/octave'" >> ~/.bashrc | ||
If you simply enter <code>octave</code>, you'll start your Linux distribution installation of Octave. But when you enter <code> | 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. | ||
== See also == | == See also == |