help-octave
[Top][All Lists]
Advanced

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

Re: Unable to install packages.


From: Gregory Mohammed
Subject: Re: Unable to install packages.
Date: Wed, 21 Jan 2009 19:45:16 -0700

Hello,

This is what I get:

address@hidden:~$ octave --norc
GNU Octave, version 2.1.72 (x86_64-pc-linux-gnu).
Copyright (C) 2005 John W. Eaton.
This is free software; see the source code for copying conditions.
There is ABSOLUTELY NO WARRANTY; not even for MERCHANTIBILITY or
FITNESS FOR A PARTICULAR PURPOSE.  For details, type `warranty'.

Additional information about Octave is available at http://www.octave.org.

Please contribute if you find this software useful.
For more information, visit http://www.octave.org/help-wanted.html

Report bugs to <address@hidden> (but first, please read
http://www.octave.org/bugs.html to learn how to write a helpful report).

octave:1> ver
error: `ver' undefined near line 1 column 1
octave:1>
octave:1>
octave:1>
octave:1>
octave:1>
octave:1>
octave:1>
octave:1>
octave:1>
octave:1> OCTAVE_VERSION
OCTAVE_VERSION = 2.1.72
octave:2>               

From what you said, it apears that the path is not set. how do you do that?

Greg.




On Wed, Jan 21, 2009 at 4:27 PM, Ben Abbott <address@hidden> wrote:
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 <address@hidden> wrote:

On Jan 20, 2009, at 10:10 PM, address@hidden 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
---------------------------------------------------------------------




--
---------------------------------------------------------------------
Gregory Mohammed, BSc. Physics
MSc Candidate in Physics
University of Northern British Columbia
3333 University Way
Prince George, BC
V2N 4Z9
---------------------------------------------------------------------

reply via email to

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