Quantcast

package octave

classic Classic list List threaded Threaded
3 messages Options
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate
star

package octave

hans90
Hi everybody
I have this problem when I want to install a package
octave:3> pkg install gnuplot-1.0.1.tar.gz
couldn't create installation directory /usr/share/octave/packages/gnuplot-1.0.1 : Permission denied
error: called from `pkg>copy_files' in file /usr/share/octave/3.6.2/m/pkg/pkg.m near line 1569, column 7
error: called from:
error:   /usr/share/octave/3.6.2/m/pkg/pkg.m at line 876, column 5
error:   /usr/share/octave/3.6.2/m/pkg/pkg.m at line 383, column 9

I hope someone could help me
Thanks
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate
star

Re: package octave

Sergei Steshenko-2




----- Original Message -----

> From: hans90 <[hidden email]>
> To: [hidden email]
> Cc:
> Sent: Tuesday, March 5, 2013 7:12 AM
> Subject: package octave
>
> Hi everybody
> I have this problem when I want to install a package
> octave:3> pkg install gnuplot-1.0.1.tar.gz
> couldn't create installation directory
> /usr/share/octave/packages/gnuplot-1.0.1 : Permission denied
> error: called from `pkg>copy_files' in file
> /usr/share/octave/3.6.2/m/pkg/pkg.m near line 1569, column 7
> error: called from:
> error:   /usr/share/octave/3.6.2/m/pkg/pkg.m at line 876, column 5
> error:   /usr/share/octave/3.6.2/m/pkg/pkg.m at line 383, column 9
>
> I hope someone could help me
> Thanks
>
>
>
> --
> View this message in context:
> http://octave.1599824.n4.nabble.com/package-octave-tp4650544.html
> Sent from the Octave - General mailing list archive at Nabble.com.
> _______________________________________________
> Help-octave mailing list
> [hidden email]
> https://mailman.cae.wisc.edu/listinfo/help-octave
>

You either need root permission, or you need to instal the package locally - you need to modify the command:

pkg install -local gnuplot-1.0.1.tar.gz
.

Regards,
  Sergei.

_______________________________________________
Help-octave mailing list
[hidden email]
https://mailman.cae.wisc.edu/listinfo/help-octave
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate
star

Re: package octave

marco atzeri-2
In reply to this post by hans90
On 3/5/2013 6:12 AM, hans90 wrote:
> Hi everybody
> I have this problem when I want to install a package
> octave:3> pkg install gnuplot-1.0.1.tar.gz
> couldn't create installation directory
> /usr/share/octave/packages/gnuplot-1.0.1 : Permission denied

it is clear "you are not authorized"

two options:
- use a user identity with privilege (root ?)
- "pkg install -local gnuplot-1.0.1.tar.gz" to install
    only for current user

> error: called from `pkg>copy_files' in file
> /usr/share/octave/3.6.2/m/pkg/pkg.m near line 1569, column 7
> error: called from:
> error:   /usr/share/octave/3.6.2/m/pkg/pkg.m at line 876, column 5
> error:   /usr/share/octave/3.6.2/m/pkg/pkg.m at line 383, column 9
>
> I hope someone could help me
> Thanks
>

Regards
Marco


_______________________________________________
Help-octave mailing list
[hidden email]
https://mailman.cae.wisc.edu/listinfo/help-octave
Loading...