Unable to install packages.

Ben Abbott bpabbott at mac.com
Wed Jan 21 17:27:56 CST 2009


It appears that your path has been unset.

Try quitting and run octave again as ...

	octave --norc

This will avoid read any of the system or user initialization files at  
startup.

After that check to see what "ver" gives. You can also type  
"OCTAVE_VERSION" ... that should always work.

If octave functions properly when you start is as "octave --norc" it  
is likely there is something wrong with your ~/.octaverc file.

Ben


On Jan 21, 2009, at 6:01 PM, Gregory Mohammed wrote:

> Hello,
>
> I get this:
>
> octave:1> ver
> error: `ver' undefined near line 1 column 1
> octave:1>
>
> Will check my install, but any ideas you have, please send my way!
>
> Thanks,
> Greg.
>
>
> Its always a good idea to tell us what version of octave you're  
> running.
>
> What do you get when you type "ver" at Octave's command prompt?
> Ben
>
>
> On Wed, Jan 21, 2009 at 5:37 AM, Ben Abbott <bpabbott at mac.com> wrote:
>
> On Jan 20, 2009, at 10:10 PM, gregf50ster at gmail.com wrote:
>
> Hello,
>
> I have installed octave on my Kubuntu 64 linux box.
>
> I have downloaded a number of packages I would like to install into  
> octave. However, when I do <pkg install "package_name.tar.gz"> at  
> the octave prompt, I get a message:
>
> octave:1> pkg install ad-1.0.4.tar.gz
> parse error:
>
> syntax error
>
> >>> pkg install ad-1.0.4.tar.gz
> ^
>
> octave:1>
>
> Can you help me rectify this?
>
> Thanks.
>
>
>
> -- 
> ---------------------------------------------------------------------
> Gregory Mohammed, BSc. Physics
> MSc Candidate in Physics
> University of Northern British Columbia
> 3333 University Way
> Prince George, BC
> V2N 4Z9
> ---------------------------------------------------------------------



More information about the Help-octave mailing list