bugGNU Octave - Bugs: bug #47491, pkg: no method to query...


bug #47491: pkg: no method to query directories where package is installed

Submitted by:  CarnĂ« Draug <carandraug>
Submitted on:  Tue 22 Mar 2016 04:10:51 AM UTC  
Category:  Octave Function Severity:  3 - Normal
Priority:  5 - Normal Item Group:  None
Status:  None Assigned to:  None
Originator Name:  Open/Closed:  Open
Release:  dev Operating System:  Any

Add a New Comment(Rich Markup)

You are not logged in

Please log in, so followups can be emailed to you.


Wed 23 Mar 2016 06:22:44 AM UTC, comment #1:

On global packages the two dirs are not nested


They have the same separation of octave tree


marco atzeri <matzeri>
Tue 22 Mar 2016 04:10:51 AM UTC, original submission:

An installed package has two directories, an arch independent directory with all the m files, and an arch dependent with all the oct files (this is a bit of a farce since the the later is nested on the first).

To find the location of the arch independent directory, one can search through "pkg list". However, there is is no way to find the other directory. The most typical solution is to use octave_config_info to deduce that directory. However, this only works because the directories are nested and requires knowledge of the internals of pkg.

Path for both directories could be returned by pkg describe (pkg list is a bit of a pain because it always returns the info for all packages in a cell array of scalar structs).

Carnë Draug <carandraug>
Project Member


(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach Files:

No files currently attached


Depends on the following items: None found

   bug dependencies.


Carbon-Copy List
  • -email is unavailable- added by matzeri (Posted a comment)
  • -email is unavailable- added by carandraug (Submitted the item)

    Do you think this task is very important?
    If so, you can add your encouragement to it.
    This task has 0 encouragements so far.

    Only project members can vote.




    Follows 1 latest change.

    Date Changed by Updated Field Previous Value => Replaced by
    2016-03-27 cdf Dependencies- => bugs #47332 is dependent

    Back to the top

    Powered by Savane 3.3