help-octave
[Top][All Lists]
Advanced

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

Re: how to make "pkg load" automatically load dependencies


From: Qianqian Fang
Subject: Re: how to make "pkg load" automatically load dependencies
Date: Fri, 11 Oct 2019 15:52:47 -0400
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.8.0

thank you Mike, the Depends field in DESCRIPTION was exactly what I was looking
for. I also tested on my package, and it worked well.

On 10/11/19 2:10 AM, Mike Miller wrote:
Not completely. It's correct that the 'pkg' command does not *install*
dependencies, but it does *load* them once they are installed.

For example,

     >> pkg list
     Package Name  | Version | Installation directory
     --------------+---------+-----------------------
          control  |   3.2.0 | /home/user/octave/control-3.2.0
           signal  |   1.4.1 | /home/user/octave/signal-1.4.1
     >> pkg load signal
     >> pkg list
     Package Name  | Version | Installation directory
     --------------+---------+-----------------------
          control *|   3.2.0 | /home/user/octave/control-3.2.0
           signal *|   1.4.1 | /home/user/octave/signal-1.4.1

To the original question, all that's needed is to include the Depends
field in the DESCRIPTION file. Refer to
https://www.octave.org/doc/interpreter/The-DESCRIPTION-File.html for the
full details.





reply via email to

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