help-octave
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: shell and emacs should load new version of octave


From: aditya
Subject: Re: shell and emacs should load new version of octave
Date: Wed, 23 Dec 2009 11:02:28 +0100 (CET)
User-agent: SquirrelMail/1.4.9a

Dear all,

> I think you need to add the location you installed octave into your
> path? For example, if I built and installed octave using
>
> ./configure --prefix=/usr/local/octave-stable
>
> Then entering
>
> /usr/local/octave-stable/bin/octave
>
> should work to start octave after it is installed. To avoid typing out
> that whole thing you can set an environment variable called PATH that
> tells the shell where to search for programs. In bash if you type
>
> export PATH=/usr/local/octave-stable/bin:$PATH
>
> Then typing octave will use the new version. You can permanently
> change your path by editing your ~/.bashrc file.
> https://answers.launchpad.net/ubuntu/+question/3199
>
> That should work to fix emacs when you start emacs from a terminal as
> well. I'm not certain, but I suspect you will have to edit your
> ~/.profile file instead and then logout and log back in to get emacs
> to work from the Applications menu.

Many thanks for your help, Judd & Bob. I was going to implement the
suggested changes to my path variable, when I observed that restarting my
computer (without any modification of the path variable) seemed enough.
Apparently during installation, octave had already changed the symbolic
links, but that change had not yet been realised by the shell I was
working with.

Thanks for your speedy responses!

Adi



reply via email to

[Prev in Thread] Current Thread [Next in Thread]