Installing packages in GNU Octave

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
6 messages Options
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Installing packages in GNU Octave

ravi7kumar
Hi,
There is a problem in installing "control" package in GNU octave
If i type the command

pkg install -forge control-3.0.0.tar

there will be error msg
error: get_forge_pkg: package not found: "control-3.0.0.tar".  Maybe you meant "instrument-control?"
error: called from
    get_forge_pkg at line 84 column 5
    get_forge_download at line 26 column 12
    pkg at line 382 column 29


PL help to solve this,

Regards
Ravi K

Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: Installing packages in GNU Octave

tmacchant
***************************
Hi,
There is a problem in installing "control" package in GNU octave
If i type the command

pkg install -forge control-3.0.0.tar

there will be error msg
error: get_forge_pkg: package not found: "control-3.0.0.tar".  Maybe you meant "instrument-control?"
error: called from
    get_forge_pkg at line 84 column 5
    get_forge_download at line 26 column 12
    pkg at line 382 column 29

PL help to solve this,

Regards
Ravi K
**************************************

Try

pkg install -forge control

BTW, please specify your octave environments (version of octave and platform (Debian, windows 10 etcs.))

Tatsuro
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: Installing packages in GNU Octave

NJank
In reply to this post by ravi7kumar
On Mar 14, 2017 10:40 AM, "ravi7kumar" <[hidden email]> wrote:
Hi,
There is a problem in installing "control" package in GNU octave
If i type the command

*pkg install -forge control-3.0.0.tar*




you don't need the file name with the -forge option, just the package name. Try:

pkg install -forge control



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

Re: Installing packages in GNU Octave

tmacchant
----- Original Message -----

>From: Nicholas Jankowski 
>To: ravi7kumar <ravikumar 
>Cc: Help GNU Octave <[hidden email]>
>Date: 2017/3/15, Wed 11:44
>Subject: Re: Installing packages in GNU Octave
>
>
>On Mar 14, 2017 10:40 AM, "ravi7kumar" <[hidden email]> wrote:
>
>Hi,
>>There is a problem in installing "control" package in GNU octave
>>If i type the command
>>
>>*pkg install -forge control-3.0.0.tar*
>>
>>
I have seen this kind of questions frequently.
I think that description of manual for pkg command leads to misleading.

>> help pkg

[snip]

     'install'
          Install named packages.  For example,

               pkg install image-1.0.0.tar.gz

          installs the package found in the file 'image-1.0.0.tar.gz'.

[snip]

          '-forge'


               Install a package directly from the Octave-Forge

               repository.  This requires an internet connection and the

               cURL library.

[snip]

In the example, install package form downloaded file but in the -forge option
only package name is required.

I think it is better to mention only package name required for -forge option with
example 

pkg install -forge image

Regards

Tatsuro 

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

Re: Installing packages in GNU Octave

ravi7kumar
Thank you for suggestion
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: Installing packages in GNU Octave

ravi7kumar
In reply to this post by tmacchant
thanks for suggestion..
Loading...