Talk:OEP:pkg

From Octave
Revision as of 00:46, 19 November 2012 by Carandraug (talk | contribs) (Created page with " == Names of the commands == == Discussing user cases == === User case #6 === : Why not store the "packages.db" together with the packages? Instead of loading the a packages ...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Names of the commands[edit]

Discussing user cases[edit]

User case #6[edit]

Why not store the "packages.db" together with the packages? Instead of loading the a packages database file. Then, Diana could just say pkg addpath ~Ligia/octave
The packages.db is stored with the packages. However, pkg purpose is to deal with packages, abstracting the user from Octave's function search path. If the user wants to add paths manually, then he can use addpath directly. Plus, adding the db file will only make the packages available to pkg, it does not load the packages. It may have packages she is not interested in loading.